Merge branch 'develop' of ssh://git.lab-ouest.org:8022/Epitech/T-IOT-901_convoyor into feat/main-algo
# Conflicts: # config.ini # include/Program.h # lib/NFC/src/NfcReader.cpp # src/Program.cpp
This commit is contained in:
@ -23,3 +23,10 @@ String NfcReader::ReadNfc()
|
||||
}
|
||||
return (this->uid);
|
||||
}
|
||||
|
||||
bool NfcReader::IsNfcConnected()
|
||||
{
|
||||
Wire.beginTransmission(NFC_ADDR);
|
||||
byte error = Wire.endTransmission();
|
||||
return error == 0;
|
||||
}
|
Reference in New Issue
Block a user