Sorry, second question. When i use require in a condition like this:
if(a=="extended")
{
require("modulename");
}
When i have the module on the sdcard will it be loaded at runtime if the condition is true. Memory on the board will be saved if the condition is false ?
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.
Sorry, second question. When i use require in a condition like this:
if(a=="extended")
{
require("modulename");
}
When i have the module on the sdcard will it be loaded at runtime if the condition is true. Memory on the board will be saved if the condition is false ?
Thanks
Sacha