Yes that is correct. I have built the program to identify the highest value so I want to save only that single value when BTN2 is pressed. And then reset the variable value to 0 for next measurement.
On BTN3 press I would like to go to the app's main menu.
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.
Yes that is correct. I have built the program to identify the highest value so I want to save only that single value when BTN2 is pressed. And then reset the variable value to 0 for next measurement.
On BTN3 press I would like to go to the app's main menu.