BBC micro:bit Recipes

Learn Programming with Microsoft MakeCode Blocks

  • Pradeeka┬áSeneviratne

Table of contents

  1. Front Matter
    Pages i-xxiii
  2. Pradeeka Seneviratne
    Pages 1-28
  3. Pradeeka Seneviratne
    Pages 29-45
  4. Pradeeka Seneviratne
    Pages 47-73
  5. Pradeeka Seneviratne
    Pages 75-92
  6. Pradeeka Seneviratne
    Pages 93-116
  7. Pradeeka Seneviratne
    Pages 117-141
  8. Pradeeka Seneviratne
    Pages 143-168
  9. Pradeeka Seneviratne
    Pages 169-185
  10. Pradeeka Seneviratne
    Pages 187-213
  11. Pradeeka Seneviratne
    Pages 215-246
  12. Pradeeka Seneviratne
    Pages 247-275
  13. Pradeeka Seneviratne
    Pages 277-290
  14. Pradeeka Seneviratne
    Pages 291-305
  15. Pradeeka Seneviratne
    Pages 307-321
  16. Pradeeka Seneviratne
    Pages 323-340
  17. Back Matter
    Pages 341-352

About this book


Build engaging programs for the BBC micro:bit using Microsoft's MakeCode web editor. Using this open source platform, you'll learn to program in an accessible way that easily translates into real-world programming. 

BBC micro:bit Recipes is a practical guide with a problem-solving approach. It provides exact solutions for common application development problems for the micro:bit using MakeCode. You'll discover and apply techniques that can be used to build simple games with sprites, keep score, and control game play.

The micro:bit is a small programmable device that is a cross between a very small computer and a programmable embedded board. It is easy to program, extremely versatile, and designed with young learners in mind. In particular, it is designed to be easy for people who have never programmed before.

By the end of this book, you'll have the foundation to build programs with the Microsoft MakeCode editor and use and process data with the built-in sensors, such as accelerometer, compass, temperature, touch, and light. You'll also see how to work with communication protocols, such as Serial, I2C, and SPI and how to use variables, loops, logic, arrays, math and functions to easily solve problems. 


BBC micro:bit Microcontroller STEM education makecode Microsoft makecode Maker Arduino alternative open source programming JavaScript

Authors and affiliations

  • Pradeeka┬áSeneviratne
    • 1
  1. 1.Udumulla, MulleriyawaSri Lanka

Bibliographic information

Industry Sectors
IT & Software