also note the interrupt fires on both the contact and release of the keypad button. In this snip Im assuming on release , mpr.touched() = 0, that is : no keys are touched so dont print the value. I imangine on a keyboard this may not be the case, so will need another way to to handle this. Good luck :).
© Espruino, powered by microcosm.
Report a problem