feat: 2nd in site test

This commit is contained in:
2024-01-26 11:35:26 +01:00
parent 23258e2682
commit 3f77acd600
2 changed files with 9 additions and 5 deletions

View File

@ -78,6 +78,7 @@ Program::Program() {
lcdScreen->add_log("Initialize M5LCD component....");
this->nfcReader = new NfcReader(NFC_ADDR);
this->servo = new ServoMotorComponent(2, 1, 1);
this->servo->setDesiredPosition(Position::MIDDLE);
this->grbl = new GRBL(STEPMOTOR_I2C_ADDR);
Wire.begin(21, 22);
grbl->init(STEPER_SPEED, STEPER_PAS, STEPER_ACC);
@ -156,4 +157,4 @@ void Program::loop() {
this->grbl->mouveForward(5);
}
}
}
}