Merge remote-tracking branch 'origin/develop' into feat/main-algo
This commit is contained in:
commit
b3ef581d28
@ -27,4 +27,5 @@ build_flags =
|
|||||||
-D STEPER_SPEED=1000 ; 12000
|
-D STEPER_SPEED=1000 ; 12000
|
||||||
|
|
||||||
|
|
||||||
|
; nfc addr
|
||||||
-D NFC_ADDR=0x28
|
-D NFC_ADDR=0x28
|
||||||
|
@ -1,10 +1,3 @@
|
|||||||
/*
|
|
||||||
** EPITECH PROJECT, 2024
|
|
||||||
** T-IOT-901_convoyor
|
|
||||||
** File description:
|
|
||||||
** NfcReader
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "NfcReader.h"
|
#include "NfcReader.h"
|
||||||
|
|
||||||
NfcReader::NfcReader(int i2c_adress)
|
NfcReader::NfcReader(int i2c_adress)
|
||||||
@ -13,8 +6,6 @@ NfcReader::NfcReader(int i2c_adress)
|
|||||||
this->mfrc522->PCD_Init();
|
this->mfrc522->PCD_Init();
|
||||||
}
|
}
|
||||||
|
|
||||||
NfcReader::~NfcReader() {}
|
|
||||||
|
|
||||||
String NfcReader::ReadNfc()
|
String NfcReader::ReadNfc()
|
||||||
{
|
{
|
||||||
this->uid.clear();
|
this->uid.clear();
|
||||||
|
@ -1,10 +1,3 @@
|
|||||||
/*
|
|
||||||
** EPITECH PROJECT, 2024
|
|
||||||
** T-IOT-901_convoyor
|
|
||||||
** File description:
|
|
||||||
** NfcReader
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef NFCREADER_H
|
#ifndef NFCREADER_H
|
||||||
#define NFCREADER_H
|
#define NFCREADER_H
|
||||||
|
|
||||||
@ -15,7 +8,7 @@
|
|||||||
class NfcReader {
|
class NfcReader {
|
||||||
public:
|
public:
|
||||||
NfcReader(int i2c_adress);
|
NfcReader(int i2c_adress);
|
||||||
~NfcReader();
|
~NfcReader() = default;
|
||||||
|
|
||||||
String ReadNfc();
|
String ReadNfc();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user