Blogger

Delete comment from: Ken Shirriff's blog

Dave O said...

If I only need to receive IR codes (and not send), can I reclaim the use of *all* my PWM pins?

Full disclosure - I committed a design to PCB and have PWM outputs needed on Pins 3, 5, 6 and 9. If I choose Timer 2 in the library I lose PWM on 3 & 11. If I choose Timer 1, then I lose PWM on 9 & 10.

I figured that PWM was only needed by the IRremote library to *send* IR, but my experimentation doesn't seem to support that.

I went ahead and hacked the IRremote.cpp to remove all the IRSend and PWM stuff, but I still lose PWM on one set of pins.

Any ideas on *if* it's possible to hack the library to work around my issue? If so, any hints on how to go about it?

Thanks!

Dave O

Mar 16, 2013, 11:30:20 PM


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

Google apps
Main menu