I've just checked and I can connect fine over serial and Web Bluetooth and can upload code, for example:
var n=0;
setInterval(function() {
n=(n+1)%5;
show(1<<n);
},500);
However I do get the "setTimeZone" not found, and it seems if you're trying to upload a larger amount of code over Web Bluetooth then you get FIFO_FULL because Espruino was still busy trying to write the error message while code was being uploaded.
I've now added setTimeZone and if you use a cutting edge build now then the code should upload fine. Unfortunately things are getting extremely tight memory-wise in the micro:bit build now so it's always a bit of a struggle. I had to lower the space reserved for saved code this time as it seems it was overlapping with the actual program code.
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 just checked and I can connect fine over serial and Web Bluetooth and can upload code, for example:
However I do get the
"setTimeZone" not found
, and it seems if you're trying to upload a larger amount of code over Web Bluetooth then you getFIFO_FULL
because Espruino was still busy trying to write the error message while code was being uploaded.I've now added
setTimeZone
and if you use a cutting edge build now then the code should upload fine. Unfortunately things are getting extremely tight memory-wise in the micro:bit build now so it's always a bit of a struggle. I had to lower the space reserved for saved code this time as it seems it was overlapping with the actual program code.