Dinuwilson
Advanced Member level 4
i try to program the timer0 module in attiny461a. but...timer value is incrementing but interrupt is nor generated.... i try to simulate this in avr studio but timer value is not incrementing.when i test that same code in hardware with the help of an lcd display i saw the timer value is incrementing...
these are my register values
TCCR0A=0b00000000;
TCCR0B=0b00000001;
TCNT0L=0X01;
SREG = 0x80;
TIMSK=0B00000010;
why it happens.....help me to solve this probleam
these are my register values
TCCR0A=0b00000000;
TCCR0B=0b00000001;
TCNT0L=0X01;
SREG = 0x80;
TIMSK=0B00000010;
why it happens.....help me to solve this probleam