4 Commits

Author SHA1 Message Date
jonny_jr9
8c7f05134c Fix Bug brake not working at all
BRAKE state was not possible with previous state
now IDLE is not forced when duty 0
Also adjust some logging
2023-09-05 09:46:53 +02:00
jonny_jr9
fcecd930d3 Add brake-relay support to motordriver
[untested]
Turn on brake relays in BRAKE state
Also wait certain time for relays to switch before shorting the driver
Add config option for brake relay pin
Initialize pin in constructor
2023-09-04 21:51:15 +02:00
jonny_jr9
3722b0af74 Add uart templates, send and receive tasks with templates work
both boards compile and send/receive example data using new templates in
common uart code
common/uart_common.hpp
2023-08-30 09:01:31 +02:00
jonny_jr9
b03baa4687 Change folder structure (multiple boards)
- add second pcb board_control, currently copy of previous board
- not enough pins -> board_control handle ui send motorcommands via uart
  board_motorctl handle motors
2023-08-28 11:15:06 +02:00