mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 10:04:28 +02:00
Updated Variant USART (markdown)
@@ -14,8 +14,8 @@ The default baud rate is 115200.
|
|||||||
## Input:
|
## Input:
|
||||||
Commands are send as binary frames with following structure:<br />
|
Commands are send as binary frames with following structure:<br />
|
||||||
- Start frame(unsigned int16) : 0xABCD
|
- Start frame(unsigned int16) : 0xABCD
|
||||||
- Steer(signed int16) : Steer or Brake(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 or Throttle(hovercar) with range -1000 to 1000
|
- Speed(signed int16) : Speed with range -1000 to 1000 or Throttle(hovercar) with range 0 to 1000
|
||||||
- Checksum(unsigned int16) : XOR checksum
|
- 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 />
|
The FOC firmware will discard frames that are not starting with proper start frame and not ending with correct checksum.<br />
|
||||||
|
Reference in New Issue
Block a user