mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 18:14:28 +02:00
Updated Debug Serial (markdown)
@@ -29,6 +29,7 @@ DEBUG_SERIAL_ASCII output is:
|
||||
|TempADC|For board temperature calibration|
|
||||
|Temp|Temperature in celcius for verifying board temperature calibration|
|
||||
|
||||
The above is done in `main.c`, see [lines 440](https://github.com/EFeru/hoverboard-firmware-hack-FOC/blob/cf7b1d0de1da34612b056c316480f47702a15cbe/Src/main.c#L440) and [line 225](https://github.com/EFeru/hoverboard-firmware-hack-FOC/blob/cf7b1d0de1da34612b056c316480f47702a15cbe/Src/main.c#L225) by using printf statements, wrapped in ```#if defined(DEBUG_SERIAL_USART2) || defined(DEBUG_SERIAL_USART3)```. More printf statements with same wrapping can be added in other places for monitoring purposes.
|
||||
|
||||
## Debug Protocol:
|
||||
If enabled with parameter DEBUG_SERIAL_PROTOCOL in [config.h](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/blob/master/Inc/config.h), debug protocol lets you send Ascii commands.<br>
|
||||
|
Reference in New Issue
Block a user