Programming the BBC micro:bit: Getting Started with MicroPython

Book Description

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 , use the LED display, accept input from sensors, attach external , 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 and methods―and see how to write your own
  • Display text, images, and animations on the micro:bit’s LED
  • 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 module
  • Graphically build programs with the JavaScript Blocks Editor

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 And Classes
Chapter 8 The Led Display
Chapter 9 Micro:Bit Sensors
Chapter 10 Connecting Electronics
Chapter 11 Radio And Communications
Chapter 12 Javascript Blocks Editor
Appendix A Micropython Reference
Appendix B Hardware

Book Details

  • Title: Programming the BBC micro:bit: Getting Started with MicroPython
  • Author:
  • Length: 176 pages
  • Edition: 1
  • Language: English
  • Publisher:
  • Publication Date: 2017-11-20
  • ISBN-10: 1260117588
  • ISBN-13: 9781260117585