MicroPython code editors
There are several online and offline code editors for writing and uploading MicroPython code for microcontrollers. Let’s explore a few of the most popular editors.
Online code editors
One of the best ways to start coding without installing anything is to use the online code editor at https://python.microbit.org/. Currently, there are two versions of this available, and we will explore both versions. The URL points to https://python.microbit.org/v/3. This is the current version of the online code editor, and in the future, it will be accessible at https://python.microbit.org/v/3. Let’s explore it first. When we visit https://python.microbit.org/, the very first thing we see is the following interface:
Figure 2.4 – The online code editor interface
The web page is divided into many sections. We can see that an example code snippet is already present in the middle section. Do not worry about the code as we will...