mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 10:04:28 +02:00
Updated Debug Serial (markdown)
@@ -30,23 +30,23 @@ DEBUG_SERIAL_ASCII output is:
|
||||
|
||||
|
||||
## Debug Protocol:
|
||||
If enabled with parameter DEBUG_SERIAL_PROTOCOL in config.h, debug protocol lets you send Ascii commands to set or get data.
|
||||
If enabled with parameter DEBUG_SERIAL_PROTOCOL in config.h, debug protocol lets you send Ascii commands.<br>
|
||||
All commands can be used for parameters.<br>
|
||||
Variables cannot be Set,Initialized or Saved.<br>
|
||||
Values are being translated to external<>internal format automatically.
|
||||
|
||||
### 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|Sets parameter PPPP to its initial value|
|
||||
|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|
|
||||
|
||||
<br>
|
||||
All commands can be used for parameters.<br>
|
||||
Variables cannot be Set,Initialized or Saved.
|
||||
<br>
|
||||
|
||||
### Parameters/Variables
|
||||
|Type|Name|Description|Can be Set|Can be saved to EEPROM|
|
||||
|----|----|----|----|----|
|
||||
|Parameter|CTRL_MOD|Ctrl mode 1:Voltage 2:Speed 3:Torque|Yes|No|
|
||||
|
Reference in New Issue
Block a user