bugfix repalce the same tag
This commit is contained in:
parent
0812b89909
commit
1ec48fcf37
2 changed files with 6 additions and 2 deletions
|
@ -159,9 +159,11 @@ void loop (void)
|
|||
Serial1.print(F("In dec: "));
|
||||
printDec(rfid.uid.uidByte, rfid.uid.size);
|
||||
Serial1.println();
|
||||
}else{
|
||||
Serial1.println(F("Card read previously."));
|
||||
coap_rfid();
|
||||
}
|
||||
else Serial1.println(F("Card read previously."));
|
||||
|
||||
|
||||
// Halt PICC
|
||||
rfid.PICC_HaltA();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue