sync
This commit is contained in:
@ -80,6 +80,7 @@ Program::Program() {
|
||||
this->servo = new ServoMotorComponent(2, 1, 1);
|
||||
this->servo->setDesiredPosition(Position::MIDDLE);
|
||||
this->grbl = new GRBL(STEPMOTOR_I2C_ADDR);
|
||||
this->outputReader = new BigNfcReader();
|
||||
Wire.begin(21, 22);
|
||||
grbl->init(STEPER_SPEED, STEPER_PAS, STEPER_ACC);
|
||||
struct WifiConfig wifi_c = {WIFI_SSID, WIFI_PASSWORD};
|
||||
@ -97,6 +98,8 @@ void Program::loop() {
|
||||
derniereExecution = maintenant;
|
||||
}
|
||||
this->servo->refresh();
|
||||
this->outputReader->refresh();
|
||||
Serial.printf("Output colis number : ", this->outputReader->getNbTags());
|
||||
|
||||
String nfcId = this->nfcReader->ReadNfc();
|
||||
//si qqc
|
||||
|
Reference in New Issue
Block a user