mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 10:04:28 +02:00
Updated Variant USART (markdown)
@@ -15,8 +15,8 @@ The default baud rate is 115200.
|
||||
## 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 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
|
||||
- Steer(signed int16) : Steer with range -1000 to 1000
|
||||
- Speed(signed int16) : Speed with range -1000 to 1000
|
||||
- Checksum(unsigned int16) : XOR checksum
|
||||
|
||||
The least significant byte comes first (little endian).<br>
|
||||
|
Reference in New Issue
Block a user