PX_lastname_ChessHouseXmas
Instructions
Lesson 2
Launch the micro:bit Python editor
Use the new version of the micro:bit.
Instructions
Generate 3 images:ChessBoard
House
Christmax Tree
-Have this run continuously. (Recall what you used in the previous assignments. Need to put delay in place.)
Click here for guidance.
Additional helpful information:
Hint: To clear the display
microbit.display.clear()
Sets the brightness of all LEDs to 0 (off).
Hints:
from microbit import *
display.set_pixel(2,0,9)
display.set_pixel(1,1,9)
display.set_pixel(2,0,9)
The name of the file will be: PX_lastname_ChessHouseXmas
Files to save on Google Drive under your class
and submit to (Google Classroom)
- PX_lastname_ChessHouseXmas.png — Screenshot inside Python interpreter.
- PX_lastname_ChessHouseXmas.py — Python source file.
- PX_lastname_ChessHouseXmas.txt — Plain-text copy of your code.
- PX_lastname_ChessHouseXmas.hex — Hex file to run on the micro:bit hardware.
- PX_lastname_ChessHouseXmas.mp4 — Short demo video of the program running.
Submission requirements
- Get a code word from Mr. Cusack after showing the hardware running.
- Include the secret code word in your submission comments.