Arduino - get temperature readout

As far as I can see from the examples there’s not a function to read out the temperature of the module (M7E), I’m sure it’s included in the mercury API, but to be completely honest, I’m not sure how to get anything useful out of that.

Is anybody able to help me out a bit on that?

The M7E/ M6E can provide that information. I have extended the standard Sparkfun library with extra functions. One of them is temperature reading. see example 11 and 12 on ThingMagic/Arduino_lib_special at master · paulvha/ThingMagic · GitHub

2 Likes

Amazing!

Thanks I’ll look into that, by the brief glance it seems to fit the bill perfectly :star_struck:

If I want to just add the temperature readout function and not the entire modified library, how would I do that? For some reason the modified library throws a few errors when i try to use it (and I don’t have use for the extra features in the modified library):

c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: In constructor 'RFID::RFID()':
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:73:3: error: '_continuousModeTemp' was not declared in this scope
   _continuousModeTemp = false;    // indicate measuring temperature in continuous mode
   ^~~~~~~~~~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:74:3: error: '_contTemp' was not declared in this scope
   _contTemp = 0;                  // store Temperature in continuous mode
   ^~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: At global scope:
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:131:75: error: no 'void RFID::startReadingBank(uint8_t, uint32_t, uint8_t)' member function declared in class 'RFID'
 void RFID::startReadingBank(uint8_t bank, uint32_t address, uint8_t length)
                                                                           ^
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: In member function 'void RFID::startReading()':
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:226:3: error: '_continuousModeTemp' was not declared in this scope
   _continuousModeTemp = true;
   ^~~~~~~~~~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:227:3: error: '_contTemp' was not declared in this scope
   _contTemp = 0;         // reset temperature
   ^~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: In member function 'void RFID::stopReading()':
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:253:3: error: '_continuousModeTemp' was not declared in this scope
   _continuousModeTemp = false;
   ^~~~~~~~~~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: At global scope:
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:291:37: error: no 'bool RFID::setPowerMode(uint8_t)' member function declared in class 'RFID'
 bool RFID::setPowerMode(uint8_t mode)
                                     ^
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:431:22: error: no 'int8_t RFID::getTemp()' member function declared in class 'RFID'
 int8_t RFID::getTemp()
                      ^
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:447:76: error: no 'uint8_t RFID::readTagPCW(uint8_t*, uint8_t&, uint16_t)' member function declared in class 'RFID'
 uint8_t RFID::readTagPCW(uint8_t *epc, uint8_t &epcLength, uint16_t timeOut)
                                                                            ^
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:461:80: error: no 'uint8_t RFID::writeTagPCW(uint8_t*, uint8_t, uint16_t)' member function declared in class 'RFID'
 uint8_t RFID::writeTagPCW(uint8_t *newID, uint8_t newIDLength, uint16_t timeOut)
                                                                                ^
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: In member function 'uint8_t RFID::readTagEPC(uint8_t*, uint8_t&, uint16_t)':
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:478:18: error: 'TMR_GEN2_BANK_EPC' was not declared in this scope
   uint8_t bank = TMR_GEN2_BANK_EPC;
                  ^~~~~~~~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: At global scope:
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:486:9: error: prototype for 'uint8_t RFID::writeTagEPC(uint8_t*, uint8_t, uint16_t)' does not match any in class 'RFID'
 uint8_t RFID::writeTagEPC(uint8_t *newID, uint8_t newIDLength, uint16_t timeOut)
         ^~~~
In file included from c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:44:0:
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library\src/SparkFun_UHF_RFID_Reader.h:138:11: error: candidate is: uint8_t RFID::writeTagEPC(char*, uint8_t, uint16_t)
   uint8_t writeTagEPC(char *newID, uint8_t newIDLength, uint16_t timeOut = COMMAND_TIME_OUT);
           ^~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: In member function 'uint8_t RFID::readUserData(uint8_t*, uint8_t&, uint16_t)':
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:499:18: error: 'TMR_GEN2_BANK_USER' was not declared in this scope
   uint8_t bank = TMR_GEN2_BANK_USER;
                  ^~~~~~~~~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: At global scope:
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:506:31: error: 'uint8_t RFID::ReadingAllBanks' is not a static data member of 'class RFID'
 uint8_t RFID::ReadingAllBanks(TMR_TagReadData *read)
                               ^~~~~~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:506:31: error: 'TMR_TagReadData' was not declared in this scope
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:506:48: error: 'read' was not declared in this scope
 uint8_t RFID::ReadingAllBanks(TMR_TagReadData *read)
                                                ^~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:506:48: note: suggested alternative: 'fread'
 uint8_t RFID::ReadingAllBanks(TMR_TagReadData *read)
                                                ^~~~
                                                fread
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: In member function 'uint8_t RFID::writeUserData(uint8_t*, uint8_t, uint16_t)':
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:776:18: error: 'TMR_GEN2_BANK_USER' was not declared in this scope
   uint8_t bank = TMR_GEN2_BANK_USER;
                  ^~~~~~~~~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: At global scope:
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:879:39: error: 'uint8_t RFID::SelectiveReadDataRegion' is not a static data member of 'class RFID'
 uint8_t RFID::SelectiveReadDataRegion(SelectEPC *selepc, uint8_t bank, uint32_t address, uint8_t length, uint8_t *dataRead, uint8_t &dataLengthRead, uint16_t timeOut)
                                       ^~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:879:39: error: 'SelectEPC' was not declared in this scope
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:879:50: error: 'selepc' was not declared in this scope
 uint8_t RFID::SelectiveReadDataRegion(SelectEPC *selepc, uint8_t bank, uint32_t address, uint8_t length, uint8_t *dataRead, uint8_t &dataLengthRead, uint16_t timeOut)
                                                  ^~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:879:50: note: suggested alternative: 'setup'
 uint8_t RFID::SelectiveReadDataRegion(SelectEPC *selepc, uint8_t bank, uint32_t address, uint8_t length, uint8_t *dataRead, uint8_t &dataLengthRead, uint16_t timeOut)
                                                  ^~~~~~
                                                  setup
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:879:66: error: expected primary-expression before 'bank'
 uint8_t RFID::SelectiveReadDataRegion(SelectEPC *selepc, uint8_t bank, uint32_t address, uint8_t length, uint8_t *dataRead, uint8_t &dataLengthRead, uint16_t timeOut)
                                                                  ^~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:879:81: error: expected primary-expression before 'address'
 uint8_t RFID::SelectiveReadDataRegion(SelectEPC *selepc, uint8_t bank, uint32_t address, uint8_t length, uint8_t *dataRead, uint8_t &dataLengthRead, uint16_t timeOut)
                                                                                 ^~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:879:98: error: expected primary-expression before 'length'
 uint8_t RFID::SelectiveReadDataRegion(SelectEPC *selepc, uint8_t bank, uint32_t address, uint8_t length, uint8_t *dataRead, uint8_t &dataLengthRead, uint16_t timeOut)
                                                                                                  ^~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:879:114: error: expected primary-expression before '*' token
 uint8_t RFID::SelectiveReadDataRegion(SelectEPC *selepc, uint8_t bank, uint32_t address, uint8_t length, uint8_t *dataRead, uint8_t &dataLengthRead, uint16_t timeOut)
                                                                                                                  ^
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:879:115: error: 'dataRead' was not declared in this scope
 uint8_t RFID::SelectiveReadDataRegion(SelectEPC *selepc, uint8_t bank, uint32_t address, uint8_t length, uint8_t *dataRead, uint8_t &dataLengthRead, uint16_t timeOut)
                                                                                                                   ^~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:879:115: note: suggested alternative: 'bitRead'
 uint8_t RFID::SelectiveReadDataRegion(SelectEPC *selepc, uint8_t bank, uint32_t address, uint8_t length, uint8_t *dataRead, uint8_t &dataLengthRead, uint16_t timeOut)
                                                                                                                   ^~~~~~~~
                                                                                                                   bitRead
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:879:133: error: expected primary-expression before '&' token
 uint8_t RFID::SelectiveReadDataRegion(SelectEPC *selepc, uint8_t bank, uint32_t address, uint8_t length, uint8_t *dataRead, uint8_t &dataLengthRead, uint16_t timeOut)
                                                                                                                                     ^
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:879:134: error: 'dataLengthRead' was not declared in this scope
 uint8_t RFID::SelectiveReadDataRegion(SelectEPC *selepc, uint8_t bank, uint32_t address, uint8_t length, uint8_t *dataRead, uint8_t &dataLengthRead, uint16_t timeOut)
                                                                                                                                      ^~~~~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:879:134: note: suggested alternative: 'analogRead'
 uint8_t RFID::SelectiveReadDataRegion(SelectEPC *selepc, uint8_t bank, uint32_t address, uint8_t length, uint8_t *dataRead, uint8_t &dataLengthRead, uint16_t timeOut)
                                                                                                                                      ^~~~~~~~~~~~~~
                                                                                                                                      analogRead
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:879:159: error: expected primary-expression before 'timeOut'
 uint8_t RFID::SelectiveReadDataRegion(SelectEPC *selepc, uint8_t bank, uint32_t address, uint8_t length, uint8_t *dataRead, uint8_t &dataLengthRead, uint16_t timeOut)
                                                                                                                                                               ^~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:1020:138: error: no 'uint8_t RFID::readDataRegion(uint8_t, uint32_t, uint8_t, uint8_t*, uint8_t&, uint16_t)' member function declared in class 'RFID'
 uint8_t RFID::readDataRegion(uint8_t bank, uint32_t address, uint8_t length, uint8_t *dataRead, uint8_t &dataLengthRead, uint16_t timeOut)
                                                                                                                                          ^
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:1080:130: error: no 'uint8_t RFID::writeDataRegion(uint8_t, uint32_t, uint8_t*, uint8_t, uint16_t)' member function declared in class 'RFID'
 uint8_t RFID::writeDataRegion(uint8_t bank, uint32_t address, uint8_t *dataToRecord, uint8_t dataLengthToRecord, uint16_t timeOut)
                                                                                                                                  ^
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: In member function 'uint8_t RFID::writeKillPW(uint8_t*, uint8_t, uint16_t)':
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:1117:18: error: 'TMR_GEN2_BANK_RESERVED' was not declared in this scope
   uint8_t bank = TMR_GEN2_BANK_RESERVED; //Passwords bank
                  ^~~~~~~~~~~~~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: In member function 'uint8_t RFID::readKillPW(uint8_t*, uint8_t&, uint16_t)':
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:1126:18: error: 'TMR_GEN2_BANK_RESERVED' was not declared in this scope
   uint8_t bank = TMR_GEN2_BANK_RESERVED; //Passwords bank
                  ^~~~~~~~~~~~~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: In member function 'uint8_t RFID::writeAccessPW(uint8_t*, uint8_t, uint16_t)':
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:1135:18: error: 'TMR_GEN2_BANK_RESERVED' was not declared in this scope
   uint8_t bank = TMR_GEN2_BANK_RESERVED; //Passwords bank
                  ^~~~~~~~~~~~~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: In member function 'uint8_t RFID::readAccessPW(uint8_t*, uint8_t&, uint16_t)':
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:1144:18: error: 'TMR_GEN2_BANK_RESERVED' was not declared in this scope
   uint8_t bank = TMR_GEN2_BANK_RESERVED; //Passwords bank
                  ^~~~~~~~~~~~~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: In member function 'uint8_t RFID::readTID(uint8_t*, uint8_t&, uint16_t)':
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:1153:18: error: 'TMR_GEN2_BANK_TID' was not declared in this scope
   uint8_t bank = TMR_GEN2_BANK_TID; //Bank for TID,
                  ^~~~~~~~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: In member function 'uint8_t RFID::readData(uint8_t, uint32_t, uint8_t*, uint8_t&, uint16_t)':
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:1252:14: error: 'TMR_GEN2_BANK_USER' was not declared in this scope
   if(bank == TMR_GEN2_BANK_USER) data[7] = 0x00;
              ^~~~~~~~~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: In member function 'bool RFID::check()':
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:1355:13: error: '_continuousModeTemp' was not declared in this scope
         if (_continuousModeTemp){        // added for temperature special (may2020 / paulvha)
             ^~~~~~~~~~~~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:1410:54: error: '_contTemp' was not declared in this scope
                 if (msg[13] == 1 && msg[11] == 0x82) _contTemp = msg[14];  // get temperature
                                                      ^~~~~~~~~
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp: At global scope:
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:1442:51: error: no 'uint8_t RFID::getTagData(uint8_t*, uint8_t)' member function declared in class 'RFID'
 uint8_t RFID::getTagData(uint8_t *buf, uint8_t len)
                                                   ^
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:1512:31: error: no 'int16_t RFID::getTagPhase()' member function declared in class 'RFID'
 int16_t RFID::getTagPhase(void)
                               ^
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:1909:46: error: no 'uint8_t RFID::setGPIO(uint8_t, bool)' member function declared in class 'RFID'
 uint8_t RFID::setGPIO(uint8_t gpio, bool high)
                                              ^
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:1944:48: error: no 'uint8_t RFID::getGPIO(uint8_t, bool*)' member function declared in class 'RFID'
 uint8_t RFID::getGPIO(uint8_t gpio, bool *state)
                                                ^
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:1972:66: error: no 'uint8_t RFID::setGPIODirection(uint8_t, bool, bool)' member function declared in class 'RFID'
 uint8_t RFID::setGPIODirection(uint8_t gpio, bool out, bool value)
                                                                  ^
c:\Users\Morten\OneDrive - L�betosset.dk\Documents\Arduino\libraries\SparkFun_Simultaneous_RFID_Tag_Reader_Library._Special_with_temp\src\SparkFun_UHF_RFID_Reader.cpp:2004:56: error: no 'uint8_t RFID::getGPIODirection(uint8_t, bool*)' member function declared in class 'RFID'
 uint8_t RFID::getGPIODirection( uint8_t gpio, bool *out)
                                                        ^

exit status 1

Compilation error: exit status 1

I have added additional functions and updates to existing functions. Hence you get the error messages.
Best is to remove the Sparkfun library and install mine, else you need to make the changes in the Sparkfun library yourself.

1 Like

Ah ok - I had to uninstall the official Sparkfun library as it got confused by it.