Added position update to stepper movement.

This commit is contained in:
jupfi 2023-12-08 08:17:56 +01:00
parent 3fa166ee7b
commit 126953f690

View file

@ -29,6 +29,10 @@ void MoveStepper::printResult()
{
// Print Info confirmation
printInfo("Fnished moving stepper");
uint32_t tuning_position = tuner.STEPPER.currentPosition();
uint32_t matching_position = matcher.STEPPER.currentPosition();
String position = "p" + String(tuning_position) + "m" + String(matching_position);
Serial.println(position);
}
void MoveStepper::printHelp()