This way it'd end up working without anyone needing a firmware update. And you can prototype it without the library - just put the code in place in the IDE.
Which adds a configurable date/time chooser that can be installed. So once you'd done it, you could for instance make a similar app to that which provided a datetimeinput library which used your code, and then people could choose how they wanted to be able to set the date.
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.
Hi, this sounds like a neat idea. However I don't think it needs to be an addition to E.showMenu...
What about just making it a library: https://github.com/espruino/BangleApps/tree/master/modules
For instance you could then just do:
This way it'd end up working without anyone needing a firmware update. And you can prototype it without the library - just put the code in place in the IDE.
Also worth noting there's this PR currently: https://github.com/espruino/BangleApps/pull/3443
Which adds a configurable date/time chooser that can be installed. So once you'd done it, you could for instance make a similar app to that which provided a
datetimeinput
library which used your code, and then people could choose how they wanted to be able to set the date.