Arduino timer interrupt. Programming microcontrollers can be hard