Skip to content
Snippets Groups Projects
Commit da59e386 authored by Malaurie Bernard's avatar Malaurie Bernard
Browse files

Linking clockwise equals push button and code

parent 2b477b4d
No related branches found
No related tags found
1 merge request!17Malaurie's work on UI + CLI interface + AccelStepper interface
...@@ -623,11 +623,13 @@ void clockwise_equals_push_callback(Control* sender, int value) ...@@ -623,11 +623,13 @@ void clockwise_equals_push_callback(Control* sender, int value)
switch (value) switch (value)
{ {
case S_ACTIVE: case S_ACTIVE:
syringe_filled.set_clockwise_equals_push(true);
ESPUI.print(clockwise_equals_push_label, "Horaire = Injection"); ESPUI.print(clockwise_equals_push_label, "Horaire = Injection");
break; break;
case S_INACTIVE: case S_INACTIVE:
syringe_filled.set_clockwise_equals_push(false);
ESPUI.print(clockwise_equals_push_label, "Horaire = Aspiration"); ESPUI.print(clockwise_equals_push_label, "Horaire = Aspiration");
break; break;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment