Please enable JavaScript to use CodeHS

New York Computer Science 9-12

Introduction to Physical Computing with micro:bit

Students learn the basics of the micro:bit, such as how to light up and change the brightness of LEDs and how to use variables to write more versatile programs.

Lessons

11.1 Welcome to micro:bit!

  • Intro to micro:bit
  • micro:bit Quick Start
  • Dice Simulator
  • Don't Wobble!
  • Exploration: Intro to Programming with micro:bit
  • +3 more

11.2 Setting Up your micro:bit

  • Setting Up your micro:bit
  • Exploration: Exploring LEDs
  • Exploration 1.2 Follow-up
  • Four Corners
  • Blinking First Letter
  • +1 more

11.3 Variables

  • Variables
  • Variables
  • Variable as Coordinate Value
  • Plus with a Variable in Pseudocode
  • Exploration: Using micro:bit Pins
  • +4 more

11.4 For Loops

  • For Loops
  • For Loops
  • Light Middle Row with a For Loop
  • Dimming LED
  • Exploration: Playing Music with micro:bit
  • +4 more

11.5 While Loops

  • While Loops
  • While Loops
  • Light Middle Column with a While Loop
  • Alternating LED until Button Press
  • Exploration: Using Buttons to Control Code
  • +3 more

Courses that include this module