1. Modules
1.1. Module list
To get a list of built-in modules for the microbit:
Open the REPL (3 white vertical dots drop down below simulator)
Type: help(‘modules’)
The output is:
__main__ |
machine |
power |
urandom |
antigravity |
math |
radio |
ustruct |
audio |
microbit |
speech |
usys |
builtins |
micropython |
this |
utime |
gc |
music |
uarray |
|
log |
neopixel |
ucollections |
|
love |
os |
uerrno |
Use the REPL and the reset button (or command D) to see the output from the print function after flashing to the microbit.
from microbit import *
print(help('modules'))