Experimental avr code to implement an avr based lumitile controller