Search the Community
Showing results for tags 'makecode'.
Found 2 results
-
i had some wadering done on www en fond www.makecode.org this is a site whit several mirco controlers controled by a kind of scratch you can also program in javasrcipt i made the folowing js code [ not tested jet ] let move = "wait"; sensors.remoteButtonTopLeft.onEvent(ButtonEvent.Pressed, function () { move = "turn left" }) sensors.remoteButtonTopRight.onEvent(ButtonEvent.Pressed, function () { move = "forwart" }) sensors.remoteButtonBottomLeft.onEvent(ButtonEvent.Pressed, function () { move = "turn right" }) sensors.remoteButtonBottomRight.onEvent(ButtonEvent.Pressed, function () { move = "backwart" }) motors.stopAll() forever(function () { switch (move) { case "turn left": motors.largeBC.tank(-50, 50) break case "forwart": motors.largeBC.tank(50, 50) break case "turn right": motors.largeBC.tank(50, -50) break case "backwart": motors.largeBC.tank(-50, -50) break default: motors.stopAll() break } control.waitMicros(100) move = "wait" })
-
Microsoft's MakeCode for the EV3
BlueBillCanada posted a topic in LEGO Technic, Mindstorms, Model Team and Scale Modeling
Hello, I searched the site for MakeCode but came up empty. Has anyone used Microsoft's MakeCode with an EV3? It's an online programming editor similar to Scratch plus Javascript. The highlight for me is EV3 emulation including EV3 peripherals. This appears to be what brick firmware version 1.10E added. Anyone else tried this? Comments?