I tried using an external LED with the code provided above. Still could not get much more than 50cm range out of the puck.
@Gordon, could you please explain a bit more in detail why using a transistor would be so hard? I am no good with hardware. Would AND-ing the ouputs of b and !a with an IC, and controlling a transistor with that signal work?
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 tried using an external LED with the code provided above. Still could not get much more than 50cm range out of the puck.
@Gordon, could you please explain a bit more in detail why using a transistor would be so hard? I am no good with hardware. Would AND-ing the ouputs of b and !a with an IC, and controlling a transistor with that signal work?