Blogger

Delete comment from: Ken Shirriff's blog

kwalker said...

JoeO: My code modifications are a sloppy hack, so I don't want to post them verbatim here. But here's the essential idea. In IRremoteInt.h there are a lot of preprocessor directives whose goal is to select a timer and PWM pin which are appropriate for the board one is using. For the Sparkfun Pro Micro 5V/16MHz, timer 3 and PWM pin 5 seem to do the trick. Rather than modify the preprocessor stuff to make the right decision, I just extracted the parts of IRremoteInt.h that dealt with timer 3 and set the PWM pin to 5. If someone can tell me how to detect that the board is the Sparkfun Pro Micro, then I could try modifying IRremoteInt.h so that it works for that board too.

Aug 31, 2013, 1:02:51 PM


Posted to A Multi-Protocol Infrared Remote Library for the Arduino

Google apps
Main menu