added electronics and detection for switch (gear channel) and set it up to switch a relay
changed from pin 13 to avoid rapid relay switching
Updated todo
added support for control of the electronic brake. For the moment it is released during startup and left off. E-Stop will cause the brake to engage instantly, no code required
updated todo and safety notes
changed brake pin to avoid sartup flicker
Merge branch 'brake'
Added vars and debug for failsafe and deadzone locks. Actual output not affected yet
Added output locks for deadzone
Fixed a bug, dont know why it didnt work but fixed it nonetheless
fixed bad boolean causing the program to think any value was bad
turned on and tested deadzone code. WOrking as intended though steering very twitchy as expected
center of sticks is now moved out by deadzone value, rather than lost, this should mean fine control at low speed is still possible
clarified debug output
hopefully fixed and merged