firmware for Manitoba Robot Games timer board
Use arduino 1.8... newer versions might work too
Install DFRobot LCD library. In Arduino IDE, go to "Tools > Manage Libraries..."
Search for DFRobot LCD and install DFRobot_RGBLCD1602 v2.0.0
This is the original Arduino sketch by Bruce
This is some work done by Troy, wholly ignorant of the previous work done by Bruce
This is the functioning sketch, a combination of the above two works
board design files
open the mrgtimer_firmware project in the arduino ide
this can be done with make gui
(read the Makefile for instructions)
ensure the board type is set to 'Arduino Nano' (atmega328p variant)
Install arduino cli install avr core: ~/Software/arduino-cli core install arduino:avr now you can use the following: make verify make upload
Pins A6 and A7 cannot be used as outputs - these drive the finish lights
possible workaround: patch S0 and S1 to A6 and A7 respectively, drive those pins instead. would lose SPI ability though.