Here I am again... :oops:
I have a circuit with LED's, and when an timer1 interrupt occurs sometimes I see the LED's switch on and off very fast.
Now I use cli to disable the interrupts before switching and sei to enable the interrupt again.
Now this fenomen is gone.
Is there an option/trick so that the interrupt cannot occurs only when a pin is switching?
:?: