Ajout de l'algo
This commit is contained in:
@ -22,4 +22,11 @@ String NfcReader::ReadNfc()
|
||||
}
|
||||
}
|
||||
return (this->uid);
|
||||
}
|
||||
|
||||
bool NfcReader::IsNfcConnected()
|
||||
{
|
||||
Wire.beginTransmission(NFC_ADDR);
|
||||
byte error = Wire.endTransmission();
|
||||
return error == 0;
|
||||
}
|
Reference in New Issue
Block a user