The issue now is that once I am on the working screen, if I click on the middle portion of the touch screen it takes me to the jogging screen. My main issue is that once I choose the walking option, the screen should remain there even if I click at some other part of the screen and do not jump to the jogging and cycling screen.
I have written the function names in the if-else condition in order to make the code a bit more readable for the sake of this doubt.
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 wanted to implement touch individually for these features. I posted this on the forum and they suggested I implement it in this manner.
The issue now is that once I am on the working screen, if I click on the middle portion of the touch screen it takes me to the jogging screen. My main issue is that once I choose the walking option, the screen should remain there even if I click at some other part of the screen and do not jump to the jogging and cycling screen.
I have written the function names in the if-else condition in order to make the code a bit more readable for the sake of this doubt.
Thank you in advance.
4 Attachments