Updated Variant USART (markdown)

Candas1
2021-03-09 12:35:52 +01:00
parent 3c53159bd0
commit c3ad1149c5

@@ -14,8 +14,8 @@ The default baud rate is 115200.
## Input:
Commands are send as binary frames with following structure:<br />
- Start frame(unsigned int16) : 0xABCD
- Steer(signed int16) : Steer or Brake(hovercar) with range -1000 to 1000
- Speed(signed int16) : Speed or Throttle(hovercar) with range -1000 to 1000
- Steer(signed int16) : Steer with range -1000 to 1000 or Brake(hovercar) with range 0 to 1000
- Speed(signed int16) : Speed with range -1000 to 1000 or Throttle(hovercar) with range 0 to 1000
- Checksum(unsigned int16) : XOR checksum
The FOC firmware will discard frames that are not starting with proper start frame and not ending with correct checksum.<br />