Cybersecurity course logo
Cybersecurity · micro:bit · Variables & Images

PX_lastname_Animation1

Instructions

Lesson 3

Launch the micro:bit Python editor

Use the new version of the micro:bit hardware.

  • Overview
  • In this lesson, students learn to animate images on the
  • micro: bit LEDs using Python.


  • Lesson 4 A Lesson 4 B

    Guides / References:


    Click here for guidance. Please read.
    Click here for guidance. Please read.

    Hint: To clear the display:

    display.clear()
    # Sets the brightness of all LEDs to 0 (off)

    The name of the file will be:
    PX_lastname_Animation1

    Files to save on Google Drive under your class and submit to Google Classroom

    1. PX_lastname_Animation1.png — Screenshot inside Python editor showing your code.
    2. PX_lastname_Animation1.py — Your Python source file.
    3. PX_lastname_Animation1.txt — Plain-text copy of your code.
    4. PX_lastname_Animation1.hex — Hex file to run on the physical micro:bit.
    5. PX_lastname_Animation1.mp4 — Short demo video of the program running on the board.

    Submission requirements

    • Show the real micro:bit hardware running your animation to Mr. Cusack.
    • Get the secret code word after you demo.
    • Include that exact code word in your Google Classroom submission comments.