Updated Variant USART (markdown)

Candas1
2022-11-01 09:54:59 +01:00
parent fe9d4b6c85
commit dc5d00cb1e

@@ -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:<br />
- 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).<br>