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.
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).
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.
If you have no idea what a Micro:Bit is hen this will introduce you to this intriguing board The Micro Bit measures 4 × 5 cm the device has an ARM.
- The Sino:bit : an open source relative of the Micro:bit
- Microbit and VCNL4040 Proximity and Ambient Light Sensor Arduino example
- Microbit and SHT40 Digital Humidity Sensor Arduino example
- Microbit and DPS310 barometric pressure sensor Arduino example
- Microbit and LTR390 UV Light Sensor Arduino example
- Microbit and PCT2075 temperature-to-digital converter Arduino example
- Microbit and VL6180X sensor Arduino example
- Microbit and AHT20 temperature and humidity sensor Arduino example