4 Commits

Author SHA1 Message Date
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
0a1f941de0 Update configs according to new pin assignment
current config of each board now matches pin assignment
2023-09-04 21:50:42 +02:00
jonny_jr9
76e8bac113 2 boards: split code, outsource common, remove duplicate files
- outsoruce common files and separate common types from source files (new
  common/types.hpp)
- split source files to 2 board folders (relevant only, no duplicate)
- currently boards compile successfull but not functional at all
- comment out currently incompatible code
2023-08-30 09:01:13 +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