3 Programming Using MicroPython

Now that you’ve had a very basic introduction to both the micro:bit’s hardware and how to write a program to it, let’s begin talking about how to actually write a program.

As of this writing, you can use at least six different coding environments to program your board: MicroPython, Microsoft PXT, Microsoft Block Editor, the Code Kingdoms JavaScript editor, Microsoft Touch Develop, and the mbed yotta integrated development environment (IDE). All of these languages have a JavaScript-based web environment you can use to create your programs, and for basic scripts that’s probably all you’ll need.

However, at some point you’re probably going to want to dig deeper into the micro:bit’s capabilities, and learning ...

Get Getting Started with the micro:bit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.