Controlling LED with an interrupt