Jan,
If you want to see different frequencies using your code I think you
will need to reset TCNT1 to the value you want in your overflow isr.
: timer1.isr
\ toggle output PD7
togglePD7
\ reset TCNT1
your-value TCNT1 !
;
However, using CTC mode would be more accurate and effi
Thanks Tristian,
Yes, I’m looking for something i can use for multplexing 7-segment displays.
But still strange I can’t use this timer freely.
How could we figger out where this oceurs?
But still thanks again for your helpfull remarks.
Cheers,
Jan
Verstuurd vanaf mijn iPad
___