From ee0a27b38b04ef276e2de0f06b3e8521460ce2e1 Mon Sep 17 00:00:00 2001 From: Candas1 Date: Sun, 16 Jan 2022 18:50:32 +0100 Subject: [PATCH] Updated Variant USART (markdown) --- Variant-USART.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Variant-USART.md b/Variant-USART.md index 1a0d096..30be2c1 100644 --- a/Variant-USART.md +++ b/Variant-USART.md @@ -5,8 +5,8 @@ You can also test this variant with following [Web Tool](https://github.com/Cand 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/Parameters -Use CONTROL_SERIAL_USART3 and FEEDBACK_SERIAL_USART3 for the right sensor cable(default).
-Use CONTROL_SERIAL_USART2 and FEEDBACK_SERIAL_USART2 for left sensor cable.
+Use CONTROL_SERIAL_USART2 and FEEDBACK_SERIAL_USART2 for left sensor cable(default).
CONTROL_SERIAL_USART3 and FEEDBACK_SERIAL_USART3 for the right sensor cable(5v tolerant).
+ SIDEBOARD_SERIAL_USART2 or SIDEBOARD_SERIAL_USART3 parameters can be used instead CONTROL_SERIAL_USART2 or CONTROL_SERIAL_USART3 to 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.
You can adjust USART2_BAUD or USART3_BAUD parameters if you need different baud speed.