I'll give it another go, now that I've got ESP32 functioning for what I want... the micro:bits have the benefit of battery connectors. It's just a real shame they went with the 16kB variant rather than the 32kB.
"Modules as functions" gave me trouble at the time, so I cut-and-pasted a very stripped-down DS18B20.js into the top of the source code, and minimised the code manually (still using Esprima et al., though)
I think for a restricted platform like micro:bit, almost all modules are going to be a problem as you don't want to compromise the capabilities of those modules for more capable boards, but not maintain two entirely separate trees.
Regardless, _minimal confuses with .min. Maybe, _basic? _barebones?
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.
I'll give it another go, now that I've got ESP32 functioning for what I want... the micro:bits have the benefit of battery connectors. It's just a real shame they went with the 16kB variant rather than the 32kB.
"Modules as functions" gave me trouble at the time, so I cut-and-pasted a very stripped-down
DS18B20.js
into the top of the source code, and minimised the code manually (still using Esprima et al., though)I think for a restricted platform like micro:bit, almost all modules are going to be a problem as you don't want to compromise the capabilities of those modules for more capable boards, but not maintain two entirely separate trees.
Regardless,
_minimal
confuses with.min
. Maybe,_basic
?_barebones
?