summaryrefslogtreecommitdiff
path: root/tube-rotator/tube-rotator.c
diff options
context:
space:
mode:
Diffstat (limited to 'tube-rotator/tube-rotator.c')
-rw-r--r--tube-rotator/tube-rotator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tube-rotator/tube-rotator.c b/tube-rotator/tube-rotator.c
index de2bd49..b5a6bd6 100644
--- a/tube-rotator/tube-rotator.c
+++ b/tube-rotator/tube-rotator.c
@@ -47,6 +47,7 @@ void handle_cmd(uint8_t cmd)
case '3': stepper_set_speed(STEPPER_SPEED_180RPM); break;
default: printf("Error(cmd): unknown command %02X '%c'\r\n", cmd, cmd); return;
}
+ printf("current speed: %d \r", stepper_get_speed());
}
int main(void)