Skip to Main Content
BBC micro:bit Recipes: Learn Programming with Microsoft MakeCode Blocks
book

BBC micro:bit Recipes: Learn Programming with Microsoft MakeCode Blocks

by Pradeeka Seneviratne
June 2019
Beginner content levelBeginner
367 pages
6h 3m
English
Apress
Content preview from BBC micro:bit Recipes: Learn Programming with Microsoft MakeCode Blocks
© 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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning e-Textile Development: Prototyping e-Textiles with Wearic Smart Textiles Kit and the BBC micro:bit

Beginning e-Textile Development: Prototyping e-Textiles with Wearic Smart Textiles Kit and the BBC micro:bit

Pradeeka Seneviratne

Publisher Resources

ISBN: 9781484249130Purchase LinkPublisher Website