diff --git a/Variant-USART.md b/Variant-USART.md index e2341c8..5145395 100644 --- a/Variant-USART.md +++ b/Variant-USART.md @@ -18,6 +18,7 @@ Commands are send as binary frames with following structure:
- Speed(signed int16) : Speed with range -1000 to 1000 or Throttle(hovercar) with range 0 to 1000 - Checksum(unsigned int16) : XOR checksum +The least significant byte comes first (little endian).
The FOC firmware will discard frames that are not starting with proper start frame and not ending with correct checksum.
A timeout will be triggered if no correct frame is received during the time specified with parameter SERIAL_TIMEOUT in config.h (160ms by default).
@@ -37,6 +38,8 @@ Following feedback is sent: - Led(unsigned int16) : Used to control the leds on the sideboard - Checksum(unsigned int16) : XOR checksum +The least significant byte comes first (little endian). + ## Troubleshooting: If the board is [beeping](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki/Diagnostics)