This shows you the differences between two versions of the page.
pm:prj2022:arosca:door-lock [2022/05/27 18:25] vlad_vasile.marcu [Download] |
pm:prj2022:arosca:door-lock [2022/05/27 23:57] (current) vlad_vasile.marcu [Software Design] |
||
---|---|---|---|
Line 141: | Line 141: | ||
//Cautam mereu semnale RFID | //Cautam mereu semnale RFID | ||
- | // Look for new cards | + | |
if ( ! mfrc522.PICC_IsNewCardPresent()) | if ( ! mfrc522.PICC_IsNewCardPresent()) | ||
{ | { | ||
return; | return; | ||
} | } | ||
- | // Select one of the cards | + | |
if ( ! mfrc522.PICC_ReadCardSerial()) | if ( ! mfrc522.PICC_ReadCardSerial()) | ||
{ | { | ||
return; | return; | ||
} | } | ||
- | /Afisam tag-ul cartelei RFID pe seriala | + | //Afisam tag-ul cartelei RFID pe seriala |
Serial.print("UID tag :"); | Serial.print("UID tag :"); | ||
String content= ""; | String content= ""; |