Code for a logic puzzle where you must decode some algebra based puzzles to determine which colour matches with digit. You then solve an equation and plug in the correct wires and the box opens.
Will add circuit and equations later.
Requires PIGPIO library: http://abyz.me.uk/rpi/pigpio/download.html