From dc5d00cb1e7fd801c638f8cbda40054e58701ff8 Mon Sep 17 00:00:00 2001 From: Candas1 Date: Tue, 1 Nov 2022 09:54:59 +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 470c3b0..21436dc 100644 --- a/Variant-USART.md +++ b/Variant-USART.md @@ -25,8 +25,8 @@ By default, USART is configured with 115200 baud, 8 data bits, no parity, one st ## :joystick: Input Command Structure: Commands are send as binary frames with following structure:
- Start frame(unsigned int16) : 0xABCD -- Steer(signed int16) : Steer with range -1000 to 1000 -- Speed(signed int16) : Speed with range -1000 to 1000 +- Steer(signed int16) : Steer input or Left input with [tank steering](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Parameters#-tank-steering)[-1000 - 1000] +- Speed(signed int16) : Speed input or Right input with [tank steering](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki/Parameters#-tank-steering)[-1000 - 1000] - Checksum(unsigned int16) : XOR checksum The least significant byte comes first (little endian).