From 2dc0c1a7a20f0d30587f2f5677cd21cba037d842 Mon Sep 17 00:00:00 2001 From: Candas1 Date: Tue, 9 Mar 2021 13:42:11 +0100 Subject: [PATCH] Updated Variant USART (markdown) --- Variant-USART.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Variant-USART.md b/Variant-USART.md index 8a7d28a..385f1f0 100644 --- a/Variant-USART.md +++ b/Variant-USART.md @@ -21,6 +21,10 @@ Commands are send as binary frames with following structure:
The FOC firmware will discard frames that are not starting with proper start frame and not ending with correct checksum.
A timeout will be triggered if no correct frame is received during the time specified with parameter SERIAL_TIMEOUT in config.h (160ms by default).
+## Calibration: +[Calibration](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki/Calibration) is not required with USART control, but can be done if you use an input devices(e.g. Joystick or Throttle handle) on the Arduino and are not taking care of calibration center value and min/max range there. + + ## Feedback: Following feedback is sent: - Start frame(unsigned int16) : 0xABCD @@ -33,9 +37,6 @@ Following feedback is sent: - Led(unsigned int16) : Used to control the leds on the sideboard - Checksum(unsigned int16) : XOR checksum - -## Calibration: -[Calibration](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki/Calibration) is not required with USART control, but can be done if you use an input devices(e.g. Joystick or Throttle handle) on the Arduino and are not taking care of calibration center value and min/max range there. ## Troubleshooting: If the board is beeping