cleanup
This commit is contained in:
parent
d8f0bb07be
commit
b96088c4eb
@ -5,7 +5,7 @@
|
|||||||
#include "GRBL.h"
|
#include "GRBL.h"
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <M5Stack.h>
|
#include <M5Stack.h>
|
||||||
#include <vector>
|
// #include <vector>
|
||||||
|
|
||||||
class Program {
|
class Program {
|
||||||
public:
|
public:
|
||||||
@ -27,12 +27,6 @@ private:
|
|||||||
* @brief stepper motor controller
|
* @brief stepper motor controller
|
||||||
*/
|
*/
|
||||||
GRBL* grbl;
|
GRBL* grbl;
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief stack des UUID lue
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
std::vector<String>* NfcIDs;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -29,17 +29,17 @@ Program::Program() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Program::loop() {
|
void Program::loop() {
|
||||||
if(this->grbl->)
|
// if(this->grbl->)
|
||||||
this->grbl->mouveForward(5); //TODO: réglé pour qu'il avance de la bonne distance
|
// this->grbl->mouveForward(5); //TODO: réglé pour qu'il avance de la bonne distance
|
||||||
String nfcIn = "0"; // TODO: si le lecteur envoie qqc
|
// String nfcIn = "0"; // TODO: si le lecteur envoie qqc
|
||||||
//TODO: refrech servo
|
// //TODO: refrech servo
|
||||||
if(nfcIn !="0"){
|
// if(nfcIn !="0"){
|
||||||
//envoyer sur dolibard
|
// //envoyer sur dolibard
|
||||||
this->NfcIDs->push_back(nfcIn);
|
// this->NfcIDs->push_back(nfcIn);
|
||||||
}
|
// }
|
||||||
if(this->NfcIDs->size() > 0){
|
// if(this->NfcIDs->size() > 0){
|
||||||
|
// }
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
//alog V1
|
//alog V1
|
||||||
//je lis la valeur NFC
|
//je lis la valeur NFC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user