Skip to content

Commit 591e141

Browse files
authored
change timer to allow Servo + Tone interaction
Fixed issue arduino/Arduino#9122 when using Servo and Tone with megaavr4089.
1 parent 727c9f9 commit 591e141

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/megaavr/ServoTimers.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626

2727
#include <avr/io.h>
2828

29-
#define USE_TIMERB1 // interferes with PWM on pin 3
30-
//#define USE_TIMERB2 // interferes with PWM on pin 11
29+
//#define USE_TIMERB1 // interferes with PWM on pin 3
30+
#define USE_TIMERB2 // interferes with PWM on pin 11
3131
//#define USE_TIMERB0 // interferes with PWM on pin 6
3232

3333
#if !defined(USE_TIMERB1) && !defined(USE_TIMERB2) && !defined(USE_TIMERB0)

0 commit comments

Comments
 (0)