The LED1 issue is because the micro:bit only has the grid of lights, not a specific LED. You could actually work around it with global.LED1={write:function(x){show(x?1:0)}}; - which will create a 'fake' LED that turns one LED on the LED matrix on and off.
I'll see about adding that to the micro:bit build.
As it says at the top of https://www.espruino.com/MicroBit you'll need a 'cutting edge' build of Espruino. The micro:bit itself changed in version 1.5 and they used different sensors (hence the i2c error). 2v06 doesn't have a fix in, but if you use the most up to date builds (or 2v07 when it's released) then it's sorted and you'll be able to use magnetometer & accelerometer again.
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,
The LED1 issue is because the micro:bit only has the grid of lights, not a specific LED. You could actually work around it with
global.LED1={write:function(x){show(x?1:0)}};
- which will create a 'fake' LED that turns one LED on the LED matrix on and off.I'll see about adding that to the micro:bit build.
As it says at the top of https://www.espruino.com/MicroBit you'll need a 'cutting edge' build of Espruino. The micro:bit itself changed in version 1.5 and they used different sensors (hence the i2c error). 2v06 doesn't have a fix in, but if you use the most up to date builds (or 2v07 when it's released) then it's sorted and you'll be able to use magnetometer & accelerometer again.
Yes - actually that's something that got fixed a few days ago but hasn't been put live yet. Either way it's nothing to worry about.