-
-
-
-
-
-
-
I got them from the BBC. I'm the creator of DroidScript and a STEM ambassador, so I managed to get a couple early :) DroidScript has a free plugin for the micro:bit which can be used right now.
See here for instructions:- microbit-js.org
Microbits are going out to a million school kids starting this week, so the UK will be flooded with them soon. You will also be able officially to buy them at some point too.
-
-
-
Hi Gordon,
I can use analogRead on pin D0 of the microbit ok, but setWatch does not seem work using the following code (this code works fine on classic Espruino to detect low to high voltage changes):-
function OnMotion()
{
console.log("Movement detected");
}
setWatch( OnMotion, D0, {repeat:true, edge:"rising"} );Strangely when I call analogRead after setting the watch it seems to trigger the watch callback into action for one shot.
Regards
David -
-
Hi Jack,
If you want to send JavaScript straight to the micro:bit from from your Android phone you can do that right now with the DroidScript plugin. I'm just making a few improvements to it right now actually (you can also read the console output from the micro:bit over BLE)