Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 830 Bytes

File metadata and controls

25 lines (21 loc) · 830 Bytes

Week 19 – Mood Badge (micro:bit Setup & Buttons)

Objectives

  • Set up micro:bit development environment
  • Understand MicroPython basics
  • Use buttons for input
  • Display images on LED matrix
  • Understand physical computing concepts

Key Differences from Standard Python

  • from microbit import * instead of regular imports
  • display.show() instead of print()
  • Hardware loop: while True with sleep()
  • Button events: button_a.was_pressed()

Lesson flow (60-75 min)

  1. Setup (20 min): Install Mu, flash first program
  2. Teach (15 min): micro:bit basics, buttons, LED display
  3. Build (20 min): Mood badge with button cycling
  4. Challenge (10 min): Add more moods, animations

Success Criteria

  • Can flash code to micro:bit
  • Buttons change display
  • Understands basic micro:bit structure