© Pradeeka Seneviratne  2019
Pradeeka SeneviratneBBC micro:bit Recipeshttps://doi.org/10.1007/978-1-4842-4913-0_5

5. Displaying Images

Pradeeka Seneviratne1 
(1)
Udumulla, Mulleriyawa, Sri Lanka
 

This chapter mainly focuses on how to show images on a micro:bit display. MakeCode provides a set of built-in images and image editing blocks to create your own images, limited up to two frames. You can play with images by scrolling and offsetting them in different ways.

5-1. Displaying Built-in Images

Problem

You want to display a built-in image on the micro:bit LED matrix.

Solution

  • In the Toolbox, click on Advanced to expand the category list, and then click on the Images category.

  • Click and drag the show image block over and place it inside of the on start

Get BBC micro:bit Recipes: Learn Programming with Microsoft MakeCode Blocks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.