Micro:bit accelerometer Micropython example
The micro:bit has an accelerometer on board, you can see this in the picture below
When you flash the program, you should see a reading of...
Random image on the Micro:bit using Micropython
The Image class also has the following built-in instances of itself included as its attributes (the attribute names indicate what the image represents). In...
Image examples for the Micro:bit using Micropython
Here we show you how to create a custom image on the led matrix, we use the Mu editor - http://codewith.mu/
from microbit import *
im =...
MicroBit push button and display image example
A simple example using the 2 buttons (a and b), pressing them will display one of the built in images on th 5x5 LED...