mirror of
https://github.com/EFeru/hoverboard-firmware-hack-FOC.git
synced 2025-08-04 18:14:28 +02:00
Updated Variant USART (markdown)
@@ -17,7 +17,7 @@ You can adjust USART2_BAUD or USART3_BAUD parameters if you need different baud
|
||||
⚠ Red wire from sensor cable delivers 15v !!!
|
||||
|
||||
## Usart configuration:
|
||||
The default baud rate is 115200.
|
||||
By default, USART is configured with 115200 baud, 8 data bits, no parity, one stop bit.
|
||||
|
||||
## Input Command Structure:
|
||||
Commands are send as binary frames with following structure:<br />
|
||||
@@ -43,7 +43,7 @@ A timeout will be triggered if no correct frame is received during the time spec
|
||||
|
||||
|
||||
## Feedback:
|
||||
Following feedback is sent:
|
||||
Following feedback is sent every 10ms:
|
||||
- Start frame(unsigned int16) : 0xABCD
|
||||
- Cmd1(signed int16) : Steer or Brake(hovercar) after normalizing and mixing
|
||||
- Cmd2(signed int16) : Speed or Throttle(hovercar) after normalizing and mixing
|
||||
|
Reference in New Issue
Block a user