In at90usb1287, I want to use timer1 as counter...
I have connected my pulse source to pin no.31 (T1)PD.6.
I want to use prescale=1
I have defined registers as
TCCR1A=0
TCCR1B=129(10000001)
TCCR1C=0
I am reading every 1 second the TCNT1 register...and then assigning to 0 after the read.
Its not working...
Are the value assigned registers correct?