Go Down

Topic: How to reconfigure IR led pin? (Read 427 times) previous topic - next topic

InduinoX

Hello guys.I'm having InduinoX clone of arduino.It has an inbuilt IR led to pin D14.But all examples using IR send are configured to pin 3.How do I reconfigure the pins?

dc42

If you are looking to emulate an IR remote control, you will almost certainly need to drive the IR LED at 38KHz. The usual way to do this is to set up timer 1 or timer2 to do this, which limits you to using pin 3 or pin 9. To use pin 14, you would have to write code to toggle that pin every 13us instead.
Formal verification of safety-critical software, software development, and electronic design and prototyping. See http://www.eschertech.com. Please do not ask for unpaid help via PM, use the forum.

InduinoX

Would you plz explain bcz i'm a learner.

Go Up