Ajout de l'algo

This commit is contained in:
2024-01-25 14:29:08 +01:00
parent 2c22e0a538
commit 45cef130ca
15 changed files with 270 additions and 55 deletions

View File

@ -22,4 +22,11 @@ String NfcReader::ReadNfc()
}
}
return (this->uid);
}
bool NfcReader::IsNfcConnected()
{
Wire.beginTransmission(NFC_ADDR);
byte error = Wire.endTransmission();
return error == 0;
}