Hi @Gordon, I'm not sure now whether this is the right place to post but I'll give it a go.
That's started to work well now.
If I write a simple bit of code and set the WebIDE to flash I get a an uncaught error.
If I send to the device's RAM then enter save(); I get a fuller error message stating that my code is too big to save to flash.
The code is simple and is....
var on = true;
function setP()
{
if (on)
{
digitalWrite(D4,1);
on = false;
show("1 1\n"+
" 1 \n"+
" 1 \n"+
"1 1\n"+
" 111 \n"); }
else
{
digitalWrite(D4,0);
on = true;
show(0);
}
}
setWatch(function() {
setP();
}, BTN1, {repeat:true, debounce:20, edge:"falling"});
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 @Gordon, I'm not sure now whether this is the right place to post but I'll give it a go.
That's started to work well now.
If I write a simple bit of code and set the WebIDE to flash I get a an uncaught error.
If I send to the device's RAM then enter save(); I get a fuller error message stating that my code is too big to save to flash.
The code is simple and is....
My code is ~300 bytes.
If my understanding of http://forum.espruino.com/conversations/346537/#comment15336682 is correct then I should have 262144-260096 ie 2048?
Thanks
Steve
2 Attachments