Reader small image

You're reading from  MicroPython Cookbook

Product typeBook
Published inMay 2019
Reading LevelBeginner
PublisherPackt
ISBN-139781838649951
Edition1st Edition
Languages
Right arrow
Author (1)
Marwan Alsabbagh
Marwan Alsabbagh
author image
Marwan Alsabbagh

Marwan Alsabbagh has been coding in some form or other since before the web existed and has continued to develop software, with a particular passion for Python, his preferred programming language, for over a decade. He has been a speaker at a number of global Python conferences, where he has been known to present microcontroller projects with a healthy dose of humor and stage theatrics. The snow globe intruder alert system, which he created with his creative and curious daughters, was one of his favorite MicroPython projects. His research interests include software engineering, microcontrollers, and 3D printing.
Read more about Marwan Alsabbagh

Right arrow

Displaying a built-in image

This recipe will show you how we can use the 5 x 5 array of LEDs to display one of the built-in images that's available with the micro:bit library. There are many images available, ranging from facial expressions to animal symbols. They are very much like emojis.

In this recipe, we will see how we can display the heart and the smiley icon on the display. When creating projects on the micro:bit, it can be useful to display symbols beyond text and numbers, as shown in this recipe. If you've made a game on the micro:bit, you might want to show a happy or sad face when the player loses or wins the game.

Getting ready

You will need to have the Mu text editor installed and configured, as well...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
MicroPython Cookbook
Published in: May 2019Publisher: PacktISBN-13: 9781838649951

Author (1)

author image
Marwan Alsabbagh

Marwan Alsabbagh has been coding in some form or other since before the web existed and has continued to develop software, with a particular passion for Python, his preferred programming language, for over a decade. He has been a speaker at a number of global Python conferences, where he has been known to present microcontroller projects with a healthy dose of humor and stage theatrics. The snow globe intruder alert system, which he created with his creative and curious daughters, was one of his favorite MicroPython projects. His research interests include software engineering, microcontrollers, and 3D printing.
Read more about Marwan Alsabbagh