diff --git a/include/Program.h b/include/Program.h index 949efc8..033fd3a 100644 --- a/include/Program.h +++ b/include/Program.h @@ -5,7 +5,7 @@ #include "GRBL.h" #include #include -#include +// #include class Program { public: @@ -27,12 +27,6 @@ private: * @brief stepper motor controller */ GRBL* grbl; - - /** - * @brief stack des UUID lue - * - */ - std::vector* NfcIDs; }; #endif diff --git a/src/Program.cpp b/src/Program.cpp index 45e9961..918b53a 100644 --- a/src/Program.cpp +++ b/src/Program.cpp @@ -29,17 +29,17 @@ Program::Program() { } void Program::loop() { - if(this->grbl->) - this->grbl->mouveForward(5); //TODO: réglé pour qu'il avance de la bonne distance - String nfcIn = "0"; // TODO: si le lecteur envoie qqc - //TODO: refrech servo - if(nfcIn !="0"){ - //envoyer sur dolibard - this->NfcIDs->push_back(nfcIn); - } - if(this->NfcIDs->size() > 0){ + // if(this->grbl->) + // this->grbl->mouveForward(5); //TODO: réglé pour qu'il avance de la bonne distance + // String nfcIn = "0"; // TODO: si le lecteur envoie qqc + // //TODO: refrech servo + // if(nfcIn !="0"){ + // //envoyer sur dolibard + // this->NfcIDs->push_back(nfcIn); + // } + // if(this->NfcIDs->size() > 0){ + // } - } //alog V1 //je lis la valeur NFC