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

3. MakeCode Programming Basics

Pradeeka Seneviratne1 
(1)
Udumulla, Mulleriyawa, Sri Lanka
 

In this chapter you will learn how to manage blocks in the coding area and about programming basics with simple recipes. These recipes can be used to build more advanced programs later with MakeCode. As an example, the recipe displaying numbers can be used to display the results of a formula in a complex program.

3-1. Adding Blocks onto Coding Area

Problem

You want to add blocks onto the coding area from the Toolbox.

Solution

  • In the Toolbox, click on any Category and from the submenu, click on the block you want to place on the coding area (Figure

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.