Implemented Current Sensing
Restructured Program

getNextState no longer sets the action to be done, doAction handles that
Added BoM
Removed old parts list
Implemented stopBrake()
Update parts.csv
Added interrupt functionality

Next state is set on timer 1 overflow and proper action is started
Merge branch 'Automata' of github.com:MITEVT/nybike_trailer_brakes into Automata
Improved and added comments
Replaced diodes
Added opening time functionality
Changed to driver structure
Fixed timer code
Fixed a bunch of bugs
Switched over to Timer 0 for interrupts

Timer 1 now only supplies a stable PWM signal for the enable pin. Timer 0 provides the interrupts for logic functionality. Prevents future code from harming enable pwm integrity.
Removed accidental changes meant for TwoTimers
Latest changes
Implemented two timer method and fixed several bugs. Working sans ADC
wow I'm a mornon
merged over stuff that should have been here anyway