feat: nfc-reader #15
2 Participants
Notifications
Due Date
No due date set.
Blocks
#16 feat: main-algo
Epitech/T-IOT-901_convoyor
Reference: Epitech/T-IOT-901_convoyor#15
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "feat/nfc-reader"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIP: feat: nfc-readerto WIP: feat: nfc-reader2/3 truc a changé
@ -0,0 +1,28 @@
/*
le fichier est en HPP et non en H
@ -0,0 +1,28 @@
/*
** EPITECH PROJECT, 2024
on a pas mis de header sur les autre fichier
@ -0,0 +15,4 @@
class NfcReader {
public:
NfcReader(int i2c_adress);
~NfcReader();
On n'a pas mis de destructeur non plus
ajouter NFC_ADDR dans les config
WIP: feat: nfc-readerto feat: nfc-readeron est good
@ -0,0 +20,4 @@
this->uid.clear();
if (!this->mfrc522->PICC_IsNewCardPresent() ||
!this->mfrc522->PICC_ReadCardSerial()) {
delay(200);
delay vraiment util ?