Remove your last save() and turn on save on send in the ide as Gordon suggested.
save()
This then puts the code into flash memory, so it does not take up the ram space.
You will then have plenty of free vars for you programme to work.
@Wilberforce started
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.
Remove your last
save()
and turn on save on send in the ide as Gordon suggested.This then puts the code into flash memory, so it does not take up the ram space.
You will then have plenty of free vars for you programme to work.