Delete comment from: Ken Shirriff's blog
@Brad
Take a look at Kens other post:
http://www.arcfn.com/2009/07/secrets-of-arduino-pwm.html - see "Timers and the Arduino".
As the code uses timer2 (https://github.com/TKJElectronics/Arduino-IRremote/blob/master/IRremoteInt.h#L63) for sending you can't use pin 3 and 11 for pwm for the motorshield.
As the motorshield for Arduino (http://arduino.cc/it/Main/ArduinoMotorShieldR3) uses pin 3 and 11 for pwm, you have to use timer1 instead for the IR library.
Just uncomment the following line: https://github.com/TKJElectronics/Arduino-IRremote/blob/master/IRremoteInt.h#L62 and comment https://github.com/TKJElectronics/Arduino-IRremote/blob/master/IRremoteInt.h#L63, then connect your IR LED to pin 9 instead.
Regards
Lauszus
May 5, 2012, 11:39:54 AM
Posted to A Multi-Protocol Infrared Remote Library for the Arduino

