Well that is strange - here that works fine. Please can you try:
E.showPrompt("Do you like fish?").then(function(v) { if (v) print("'Yes' chosen"); else print("'No' chosen"); }); Bangle.on('touch',(n,e)=>{ print("Touch", e); g.reset().fillRect(e.x-1, e.y-10,e.x+1,e.y+10).fillRect(e.x-10, e.y-1,e.x+10,e.y+1); });
It should print out xy coordinates and draw a crosshair where it thinks you pressed on the screen. Maybe for some reason the XY coordinates are wrong?
@Gordon 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.
Well that is strange - here that works fine. Please can you try:
It should print out xy coordinates and draw a crosshair where it thinks you pressed on the screen. Maybe for some reason the XY coordinates are wrong?