I checked, this library takes pin 10 on my UNO, and I can not use this PWM channel.
I checked boarddefs.h and found next lines:
#elif defined(AVR_ATmega32U4)
//#define IR_USE_TIMER1 // tx = pin 14
//#define IR_USE_TIMER3 // tx = pin 9
#define IR_USE_TIMER4_HS // tx = pin 10
I did this:
#elif defined(AVR_ATmega32U4)
//#define IR_USE_TIMER1 // tx = pin 14
//#define IR_USE_TIMER3 // tx = pin 9
//define IR_USE_TIMER4_HS // tx = pin 10
but it did not help.
if I just remove the library from the sketch, then the pin 10 works normaly.
I checked all the library files and did not find any more "pin 10" of "IR_USE_TIMER4_HS"
Where can I free my 10 pin? Please help =((
p.s. i have no any free PWM pins on my UNO