feat:V1.0 #8
@ -11,8 +11,7 @@ String NfcReader::ReadNfc()
|
||||
this->uid.clear();
|
||||
if (!this->mfrc522->PICC_IsNewCardPresent() ||
|
||||
!this->mfrc522->PICC_ReadCardSerial()) {
|
||||
delay(200);
|
||||
return "0";
|
||||
return ("0");
|
||||
}
|
||||
for (unsigned int i = 0; i < this->mfrc522->uid.size; i++) {
|
||||
if (this->mfrc522->uid.uidByte[i] < 0xF) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user