diff --git a/Debug-Serial.md b/Debug-Serial.md index e1b2840..b382df4 100644 --- a/Debug-Serial.md +++ b/Debug-Serial.md @@ -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.
+All commands can be used for parameters.
+Variables cannot be Set,Initialized or Saved.
Values are being translated to external<>internal format automatically. +### Commands |Command|Usage|Description| |---|---|---| |HELP|HELP
HELP PPPP|Prints all commands/parameters/variables available for the protocol
If parameter/variable PPPP is provided, it will print individual help text| |GET|GET
GET PPPP|Prints current value, initial value, minimum and maximum for all parameters/variables
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| -
-All commands can be used for parameters.
-Variables cannot be Set,Initialized or Saved. -
+### 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|