Quickly write innovative programs for your micro:bit―no experience necessary!
This easy-to-follow guide shows, step-by-step, how to quickly get started with programming and creating fun applications on your micro:bit.. Written in the straightforward style that Dr. Simon Monk is famous for, Programming the BBC micro:bit: Getting Started with MicroPython begins with basic concepts and gradually progresses to more advanced techniques. You will discover how to use the micro:bit's built-in hardware, use the LED display, accept input from sensors, attach external electronics, and handle wireless communication.
- Connect your micro:bit to a computer and start programming!
- Learn how to use the two most popular MicroPython editors
- Work with built-in functions and methods―and see how to write your own
- Display text, images, and animations on the micro:bit’s LED matrix
- Process data from the accelerometer, compass, and touch sensor
- Control external hardware by attaching it to the edge connector
- Send and receive messages via the built-in radio module
Table of Contents
Chapter 1 Introduction
Chapter 2 Getting Started
Chapter 3 Micropython Basics
Chapter 4 Functions
Chapter 5 Lists And Dictionaries
Chapter 6 Writing Your Own Programs
Chapter 7 Modules And Classes
Chapter 8 The Led Display
Chapter 9 Micro:Bit Sensors
Chapter 10 Connecting Electronics
Chapter 11 Radio And Communications
Appendix A Micropython Reference
Appendix B Hardware