Comments (3)
I never tested on a NodeMCU but it looks to me that EPC is defined 2 times, once in the board library and another time in the RFID reader library. Looking at the version number of your boards library 1.0.6 that looks "old" to me. The version I have is 2.0.6 (same as I see online). Can you try to update and let me know ?
regards,
Paul
from thingmagic.
Hi Paul,
For some reason it seems that the reference I was using contained only 1.06 as the latest version. Changing to to reference the official github with the link:
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
Seems to have helped and I was able to install the latest version.
Unfortunately the errors are still present and seem the same but with the new version:
`In file included from C:\Users\prosh\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/xtensa/include/xtensa/xtruntime.h:30,
from C:\Users\prosh\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/freertos/port/xtensa/include/freertos/portmacro.h:40,
from C:\Users\prosh\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/freertos/include/freertos/portable.h:51,
from C:\Users\prosh\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/freertos/include/freertos/FreeRTOS.h:63,
from C:\Users\prosh\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6\cores\esp32/Arduino.h:33,
from C:\Users\prosh\AppData\Local\Temp\arduino-sketch-C473708062EFC059CA482FDCA5D4610D\sketch\Example1_Constant_Read_copy_20230204091135.ino.cpp:1:
C:\Users\prosh\AppData\Local\Arduino15\packages\esp32\hardware\esp32\2.0.6/tools/sdk/esp32/include/xtensa/esp32/include/xtensa/config/specreg.h:108:14: error: expected unqualified-id before numeric constant
#define EPC 176
^~~
c:\Users\prosh\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library_dec2022\src/SparkFun_UHF_RFID_Reader.h:108:11: note: in expansion of macro 'EPC'
uint8_t EPC[12]; // EPC bytes or part of the EPC to match
^~~
exit status 1
Compilation error: exit status 1`
from thingmagic.
I was able to solve this issue by using #UNDEF EPC directly before the EPC[12] section in SparkFun_UHF_RFID_Reader.h
from thingmagic.
Related Issues (15)
- ThingMagic/use_serialport/ HOT 3
- the example code, Example15_readallbanks , doesn't work well. HOT 2
- A few questions HOT 7
- Using external microcontroller UART HOT 3
- Sparkfun Artemis compatability? HOT 4
- COMMAND_TIME_OUT seems to long HOT 2
- RESPONSE_IS_KEEPALIVE HOT 4
- ThingMagic M5E HOT 12
- Time out 1: No response from module when connecting NodeMCU-32S to EM6 Nano HOT 8
- Connecting ESP-32S nodeMCU yields incomplete response HOT 2
- esp32 continuous reconnection to m6e nano HOT 16
- cant find " nano.getTemp();"
- Oct2023 sip has March223 folder inside HOT 1
- Need SELECT command example HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thingmagic.