* Simple wrapper around PICC_Select. * Returns true if a UID could be read. * Remember to call PICC_IsNewCardPresent(), PICC_RequestA() or PICC_WakeupA() first. * The read UID is available in the class variable uid. * * @return bool */
| 1760 | * @return bool |
| 1761 | */ |
| 1762 | bool MFRC522::PICC_ReadCardSerial() { |
| 1763 | byte result = PICC_Select(&uid); |
| 1764 | return (result == STATUS_OK); |
| 1765 | } // End PICC_ReadCardSerial() |
| 1766 |