Yes, that seems fine. Just FYI - you don't need g.setFont4x6(texte,compteur,0); - you can just write g.setFont4x6();
g.setFont4x6(texte,compteur,0);
g.setFont4x6();
@Gordon 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.
Yes, that seems fine. Just FYI - you don't need
g.setFont4x6(texte,compteur,0);
- you can just writeg.setFont4x6();