Thanks a lot!
I used setwatch() on button2 and onclick of it, I clear the home screen and display a new screen with a message. However, this new screen doesn't stay there. It goes back to the home screen immediately. Any idea how to take care of this? Should a make a new post for my query ?
Doesn't it work like a normal on click event of a button, do something. rather than only flashing what it needs to show and going back to home screen
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.
Thanks a lot!
I used setwatch() on button2 and onclick of it, I clear the home screen and display a new screen with a message. However, this new screen doesn't stay there. It goes back to the home screen immediately. Any idea how to take care of this? Should a make a new post for my query ?
Doesn't it work like a normal on click event of a button, do something. rather than only flashing what it needs to show and going back to home screen
Thanks!