You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... OCR1A = 0; // Trigger interrupt when TCNT1 is reset to 0 TIMSK |= _BV(OCIE1A); // Turn on interrupt TCNT1 = 0; // Set counter to 0
interrupt does not occur. If OCR1A > 0 It's occur, but It's work not correct
The text was updated successfully, but these errors were encountered:
(attiny85 too)because:
define F_CPU 8000000UL
if defined( AVR_ATtinyX5 )
...
if F_CPU == 8000000UL
...
OCR1A = 0; // Trigger interrupt when TCNT1 is reset to 0
TIMSK |= _BV(OCIE1A); // Turn on interrupt
TCNT1 = 0; // Set counter to 0
interrupt does not occur. If OCR1A > 0 It's occur, but It's work not correct
The text was updated successfully, but these errors were encountered: