Switch ADC to timer 1 because timer 0 was taken. Oops.
Moved tool address to Makefile
Added flushing before write to rfid reader
And other various fixes and changes, which I don't remember. Changedrfid reading to read every tick, but only try writing if enough tickshave passed.
Moved timing to time.c, and increased period of rfid polling
Added current sensing to toolbox
Tool stops waiting for access response if id is removed
Added tool state TS_DENY, with red LED until card is removed
Made rfid.c more robust against false negatives
Also changed LED code to be more generally usable, and changed mainboxto grant access to a particular user id instead of randomly choosing
Fixes. It tooltrons at a basic level now.
Added LED blinking, and other fixes
Eradicated use of signed chars in serial d'oh
Added LED header, and some rfid debugging
Various fixes to tool main.c
- Input register callback no longer copies current_user to reg_buf prematurely, and then write the uninitialized serno into reg_buf (?!)- tool_disable was missing a ~- Updated coil read/write to use new 1 indexed addresses
Made some changes to the tool state machine
Added actual control of tool
Added capability to read/write coils to toolbox
Moved toolbox code into its own directory