- eBook:BBC micro:bit Recipes: Learn Programming with Microsoft MakeCode Blocks
- Author:Pradeeka Seneviratne
- Edition:1st ed. edition
- Data:August 23, 2019
- Pages:352 pages
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 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.
What You'll Learn
- Display text, images, and animations on the micro:bit display
- Connect external sensors and process data
- Make and play music through speakers and headphones
- Use Bluetooth service to communicate with Smartphones and tablets
Who This Book Is For
Those who are interested in learning to program the BBC micro:bit with Microsoft MakeCode. The difficulty level falls from beginner to intermediate level.
Chapter 2: MakeCode Extended Features
Chapter 3: MakeCode Programming Basics
Chapter 4: Working with Text
Chapter 5: Displaying Images
Chapter 6: Inputs and Outputs
Chapter 7: Loops and Logic
Chapter 8: Using Mathematical Functions
Chapter 9: Using Variables
Chapter 10: Functions and Arrays
Chapter 11: Playing Music
Chapter 12: Using Sensors
Chapter 13: Using Bluetooth Services
Chapter 14: Using Radio
Chapter 15: Building Simple Games