mirror of
https://github.com/nqrduck/ATM.git
synced 2024-12-01 22:33:13 +00:00
Added position update to stepper movement.
This commit is contained in:
parent
3fa166ee7b
commit
126953f690
1 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,10 @@ void MoveStepper::printResult()
|
||||||
{
|
{
|
||||||
// Print Info confirmation
|
// Print Info confirmation
|
||||||
printInfo("Fnished moving stepper");
|
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()
|
void MoveStepper::printHelp()
|
||||||
|
|
Loading…
Reference in a new issue