Arduino Forum
Reseting ATTiny85 timer so millis and delay will work properly
Using Arduino
Programming Questions
pylon
March 20, 2013, 9:59pm
4
Add
TIMSK &= ~(1<<TOIE0);
to your PWM setup to disable the timer interrupt during the PWM phase.
show post in topic
Related Topics
Topic
Replies
Views
Activity
Timers, PWM, and ATTiny84
Microcontrollers
5
3127
May 6, 2021
Attiny45 Timer0 prescaler issue
Microcontrollers
3
549
May 6, 2021
Millis() ATtiny85 with ATtinyCore Universal
Programming Questions
6
313
January 2, 2024
ATTINY85 and PWM for Timer 0
Microcontrollers
3
1648
May 6, 2021
Timer interrupt on ATtiny85, now delay() and mills() not working right
Programming Questions
7
2613
May 5, 2021