Updated Variant USART (markdown)

Candas1
2022-01-02 11:45:38 +01:00
parent 26b33ec1d1
commit 25623d62bb

@@ -4,7 +4,7 @@ The example [Arduino sketch](https://github.com/EmanuelFeru/hoverboard-firmware-
You can also test this variant with following [Web Tool](https://github.com/Candas1/Hoverboard-Web-Serial-Control), it let's you control the board and trace feedback values.<br>
This [Python code](https://github.com/kosni68/HoverSerial) inspired by the code shared in this [issue](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/issues/157) can also be used to control the firmware.
## Configuration
## Configuration/Parameters
Use CONTROL_SERIAL_USART3 and FEEDBACK_SERIAL_USART3 for the right sensor cable(default), or CONTROL_SERIAL_USART2 and FEEDBACK_SERIAL_USART2 for left sensor cable.<br>
SIDEBOARD_SERIAL_USART2 or SIDEBOARD_SERIAL_USART3 parameters enable a different [protocol](https://github.com/EFeru/hoverboard-firmware-hack-FOC/issues/143) implemented on the [sideboard firmware](https://github.com/EFeru/hoverboard-sideboard-hack-GD). It can also be used with the [Web tool](https://github.com/Candas1/Hoverboard-Web-Serial-Control#protocol---hovercar) for testing the different control modes/types.<br>
You can adjust USART2_BAUD and USART3_BAUD parameters if you need different baud speed.