By pressing buttons (8 in total), the score and other things must be counting up or down.
So, yes.. it is necessary to distinguish witch button is pressed.
Therfore I've added 8 lines with a "setWatch" at the end of the program.
Each line is observing a different pin.
Everything is working, except the I have 8 setWatches activated. Then it is unstable the first minute after starting up. and only the first 4 or 5 setWatches are working.
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 project is a scoreboard.
By pressing buttons (8 in total), the score and other things must be counting up or down.
So, yes.. it is necessary to distinguish witch button is pressed.
Therfore I've added 8 lines with a "setWatch" at the end of the program.
Each line is observing a different pin.
Everything is working, except the I have 8 setWatches activated. Then it is unstable the first minute after starting up. and only the first 4 or 5 setWatches are working.