I've used Module.addCached successfull. Moved it temporarly out of the switch/case statment within a function. It's better than using eval. I can allways see and manage the loaded modules.
My prototype is now able to load and replace modules via xbee without interupting or reset the pico. Very nice!
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've used Module.addCached successfull. Moved it temporarly out of the switch/case statment within a function. It's better than using eval. I can allways see and manage the loaded modules.
My prototype is now able to load and replace modules via xbee without interupting or reset the pico. Very nice!