help: add new stage command for blocking moves, style changes
This commit is contained in:
parent
2fb61c4be3
commit
36dfc8d9bb
1 changed files with 55 additions and 48 deletions
|
|
@ -19,7 +19,9 @@ void help(String command)
|
||||||
#elif defined ADAFRUIT_ADS1115
|
#elif defined ADAFRUIT_ADS1115
|
||||||
Serial.println(F("Compiled with Adafruit ADS1115 support"));
|
Serial.println(F("Compiled with Adafruit ADS1115 support"));
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif //LIGHT_SENSOR
|
||||||
|
|
||||||
|
|
||||||
#ifdef ENDSTOPS
|
#ifdef ENDSTOPS
|
||||||
#ifdef ENDSTOPS_MIN
|
#ifdef ENDSTOPS_MIN
|
||||||
Serial.println(F("Compiled with min endstops support"));
|
Serial.println(F("Compiled with min endstops support"));
|
||||||
|
|
@ -27,7 +29,8 @@ void help(String command)
|
||||||
#ifdef ENDSTOPS_MAX
|
#ifdef ENDSTOPS_MAX
|
||||||
Serial.println(F("Compiled with max endstops support"));
|
Serial.println(F("Compiled with max endstops support"));
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif //ENDSTOPS
|
||||||
|
|
||||||
|
|
||||||
Serial.println("");
|
Serial.println("");
|
||||||
Serial.println(F("Commands (terminated by a newline character):"));
|
Serial.println(F("Commands (terminated by a newline character):"));
|
||||||
|
|
@ -45,8 +48,12 @@ void help(String command)
|
||||||
Serial.println(F("min_step_delay? - get the minimum time between steps in us."));
|
Serial.println(F("min_step_delay? - get the minimum time between steps in us."));
|
||||||
Serial.println(F("zero - set the current position to zero."));
|
Serial.println(F("zero - set the current position to zero."));
|
||||||
Serial.println(F("stop - stop a move in progress."));
|
Serial.println(F("stop - stop a move in progress."));
|
||||||
|
Serial.println(F("blocking_moves? - get blocking moves enabled"));
|
||||||
|
Serial.println(F("blocking_moves <bool> - enable/disable blocking moves"));
|
||||||
|
Serial.println(F("moving? - check if a move is in progress"));
|
||||||
|
Serial.println(F("notify_on_stop - respond with stopped when current move finishes"));
|
||||||
|
#endif //STAGE
|
||||||
|
|
||||||
#endif
|
|
||||||
#ifdef LIGHT_SENSOR
|
#ifdef LIGHT_SENSOR
|
||||||
Serial.println(F("light_sensor_gain <d> - set the gain of the light sensor"));
|
Serial.println(F("light_sensor_gain <d> - set the gain of the light sensor"));
|
||||||
Serial.println(F("light_sensor_gain? - get the gain of the light sensor"));
|
Serial.println(F("light_sensor_gain? - get the gain of the light sensor"));
|
||||||
|
|
@ -71,4 +78,4 @@ void help(String command)
|
||||||
Serial.println("");
|
Serial.println("");
|
||||||
Serial.println("--END--");
|
Serial.println("--END--");
|
||||||
}
|
}
|
||||||
#endif
|
#endif //HELP
|
||||||
Loading…
Add table
Add a link
Reference in a new issue