Merge remote-tracking branch 'origin/develop' into feat/main-algo

This commit is contained in:
Clement 2024-01-19 12:05:17 +01:00
commit b3ef581d28
3 changed files with 2 additions and 17 deletions

View File

@ -27,4 +27,5 @@ build_flags =
-D STEPER_SPEED=1000 ; 12000
; nfc addr
-D NFC_ADDR=0x28

View File

@ -1,10 +1,3 @@
/*
** EPITECH PROJECT, 2024
** T-IOT-901_convoyor
** File description:
** NfcReader
*/
#include "NfcReader.h"
NfcReader::NfcReader(int i2c_adress)
@ -13,8 +6,6 @@ NfcReader::NfcReader(int i2c_adress)
this->mfrc522->PCD_Init();
}
NfcReader::~NfcReader() {}
String NfcReader::ReadNfc()
{
this->uid.clear();

View File

@ -1,10 +1,3 @@
/*
** EPITECH PROJECT, 2024
** T-IOT-901_convoyor
** File description:
** NfcReader
*/
#ifndef NFCREADER_H
#define NFCREADER_H
@ -15,7 +8,7 @@
class NfcReader {
public:
NfcReader(int i2c_adress);
~NfcReader();
~NfcReader() = default;
String ReadNfc();