The 'tap' event works fine, but it is not very 'sensitive'. One has to tap pretty hard...
Handling it internally is of course always a good idea (and keeps the interface identical across different Espruino devices).
(I could not find the documentation for the 'tap' event on the Espruino Hardware Reference page.)
@jgw 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.
The 'tap' event works fine, but it is not very 'sensitive'. One has to tap pretty hard...
Handling it internally is of course always a good idea (and keeps the interface identical across different Espruino devices).
(I could not find the documentation for the 'tap' event on the Espruino Hardware Reference page.)