Thanks a lot! One more problem: The drawClock function needs a font module. if i put
require("FontTeletext10x18Ascii").add(Graphics);
in the main clock code, the font is loaded and works in drawClock. The same code does not work in the settings app, i get
Contour Clock settings error: Error: Error: Module FontTeletext10x18Ascii not found
Loading the font in the library does not work either, but does not produce an error message...
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! One more problem: The drawClock function needs a font module. if i put
in the main clock code, the font is loaded and works in drawClock. The same code does not work in the settings app, i get