typechange: byte -> PICC_Type
This commit is contained in:
@@ -72,7 +72,7 @@ void loop() {
|
||||
dump_byte_array(mfrc522[reader].uid.uidByte, mfrc522[reader].uid.size);
|
||||
Serial.println();
|
||||
Serial.print(F("PICC type: "));
|
||||
byte piccType = mfrc522[reader].PICC_GetType(mfrc522[reader].uid.sak);
|
||||
MFRC522::PICC_Type piccType = mfrc522[reader].PICC_GetType(mfrc522[reader].uid.sak);
|
||||
Serial.println(mfrc522[reader].PICC_GetTypeName(piccType));
|
||||
|
||||
// Halt PICC
|
||||
|
||||
Reference in New Issue
Block a user