In terms of RAM it's blocksize*free - so 3360 bytes. The reality is it's slightly less than that due to various overheads.
However there is 2k of flash available, and if you save code to flash it'll be executed from there and won't use RAM, so I'd suggest doing that - so you get 2k of code space plus 3k of RAM.
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 - sorry for the delay, just saw this.
In terms of RAM it's
blocksize*free
- so 3360 bytes. The reality is it's slightly less than that due to various overheads.However there is 2k of flash available, and if you save code to flash it'll be executed from there and won't use RAM, so I'd suggest doing that - so you get 2k of code space plus 3k of RAM.