mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 18:14:28 +02:00
Updated Debug Serial (markdown)
@@ -43,14 +43,14 @@ If enabled with parameter DEBUG_SERIAL_PROTOCOL in [config.h](https://github.com
|
||||
### Commands
|
||||
|Command|Usage|Description|
|
||||
|---|---|---|
|
||||
|HELP|HELP<BR>HELP PPPP|Prints all commands/parameters/variables available for the protocol<br>If parameter/variable PPPP is provided, it will print individual help text|
|
||||
|GET|GET<br>GET PPPP|Prints current value, initial value, minimum and maximum for all parameters/variables<br>If parameter/variable PPPP is provided, it will print current value, initial value, minimum and maximum for parameter/variable|
|
||||
|SET|SET PPPP VVVV|Sets parameter PPPP with Value VVVV if it's in the correct range|
|
||||
|INIT|INIT PPPP|Initializes parameter PPPP to EEPROM value if available, config.h value otherwise|
|
||||
|SAVE|SAVE|Saves all parameters that can be saved to EEPROM|
|
||||
|WATCH|WATCH PPPP|Enables/disables output for parameter/variable. It will display 15 values at most|
|
||||
|$HELP|HELP<BR>HELP PPPP|Prints all commands/parameters/variables available for the protocol<br>If parameter/variable PPPP is provided, it will print individual help text|
|
||||
|$GET|GET<br>GET PPPP|Prints current value, initial value, minimum and maximum for all parameters/variables<br>If parameter/variable PPPP is provided, it will print current value, initial value, minimum and maximum for parameter/variable|
|
||||
|$SET|SET PPPP VVVV|Sets parameter PPPP with Value VVVV if it's in the correct range|
|
||||
|$INIT|INIT PPPP|Initializes parameter PPPP to EEPROM value if available, config.h value otherwise|
|
||||
|$SAVE|SAVE|Saves all parameters that can be saved to EEPROM|
|
||||
|$WATCH|WATCH PPPP|Enables/disables output for parameter/variable. It will display 15 values at most|
|
||||
|
||||
An end of line(\n) character is expected at the end of each command.
|
||||
⚠️ Commands start with $ and end of line(\n) character is expected at the end of each command.
|
||||
|
||||
### Parameters/Variables
|
||||
All commands can be used for parameters, but variables cannot be Set,Initialized or Saved.<br>
|
||||
|
Reference in New Issue
Block a user