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 this example we will randomly display an image on the led matrix when the button a is pressed Code [codesyntax lang="python"]...
Code
Here we show you how to create a custom image on the led matrix, we use the Mu editor - http://codewith.mu/ [codesyntax lang="python"] from microbit import * im = Image('99999:90009:90009:90009:99999:') display.show(im).
Go to the micro:bit web site and follow the hyperlink to Create Code. Choose the Microsoft Block Editor and make a New Project. Look in the Basic section for the.
A simple example using the 2 buttons (a and b), pressing them will display one of the built in images on th 5x5 LED display on the Micro Bit The Image Class can display a wide variety of images, you can change these in the...