Ok sorry ;)
I have a "Original Espruino", it is running version "2v04" "AT command Networking Only"
and this is the function:
function visitorScoreUp() {
g.setColor(0,0,0); g.fillRect(220,82,320,135); visitorScore++; if (visitorScore < 1) visitorScore = 0 ; if (visitorScore > 9) visitorTextOffset = 0; else visitorTextOffset = 15; drawOnBoard({title: visitorScore, posX: 235 + visitorTextOffset, posY: 85, vector: 45, color: colorArray.white});
}
Every button is calling more or less the same function.
Regards Peter
@PeterD 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.
Ok sorry ;)
I have a "Original Espruino", it is running version "2v04" "AT command Networking Only"
and this is the function:
function visitorScoreUp() {
}
Every button is calling more or less the same function.
Regards
Peter