Thanks Gordon. I tried your getInput() function and it complains that LoopbackA is undefined.
Are you using version 64? The loopbacks were just added in v64.
@DrAzzy started
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.
Are you using version 64? The loopbacks were just added in v64.