I see a reference to both Cathode and Anode used in code snippet. Is the IR diode connected across both these pins? Backwards? Lacking pullup? Need a current driver like a 2n2222?
What is the pin mode set to? I don't see those lines of code?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I see a reference to both Cathode and Anode used in code snippet. Is the IR diode connected across both these pins? Backwards? Lacking pullup? Need a current driver like a 2n2222?
What is the pin mode set to? I don't see those lines of code?
or use
dump()
on the command line.Potential conflict L41 and L47 :: Using both analog and digital on the same pin.