added interrupt code
fixed a syntax issue with timer1 interrupt routine and added ledPin to debug