I've hit some problems with the micro:bit - it'll work when running from USB power, but not from battery.
Right now I think it could be to do with the UART RX pin getting pulled low (and spamming the chip with 0 characters) but I'm really not sure. Is it possible that could be the problem you're having too?
Espruino runs fine in 16kB RAM - but you might have to adjust the amount of variables it uses (copy from microbit, which I know works). It's just a bit limited by the amount of code you can write - at least until it gets optimised a bit :)
PS. when you're posting up areas of code, please can you surround them with 3 backticks and a blank line before and after - like this - it makes it a whole lot easier to read :)
When you get it working you might also be interested in this
:)
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 hit some problems with the micro:bit - it'll work when running from USB power, but not from battery.
Right now I think it could be to do with the UART RX pin getting pulled low (and spamming the chip with
0
characters) but I'm really not sure. Is it possible that could be the problem you're having too?Espruino runs fine in 16kB RAM - but you might have to adjust the amount of variables it uses (copy from microbit, which I know works). It's just a bit limited by the amount of code you can write - at least until it gets optimised a bit :)
PS. when you're posting up areas of code, please can you surround them with 3 backticks and a blank line before and after - like this - it makes it a whole lot easier to read :)
When you get it working you might also be interested in this
:)