In this lesson, students will learn about all the images available for the micro:bit and how to animate them in their programs.
START DISPLAY "HEART" image WAIT 200ms DISPLAY "HEART_SMALL" image WAIT 200ms DISPLAY "TRIANGLE" image WAIT 200ms DISPLAY "TRIANGLE_LEFT" image WAIT 200ms DISPLAY "DIAMOND" image WAIT 200ms DISPLAY "DIAMOND_SMALL" image WAIT 200ms DISPLAY "SQUARE" image WAIT 200ms DISPLAY "SQUARE_SMALL" image WAIT 200ms -Make sure that when you code this you use an loop that transverse your table you defined and -DO NOT list each image individually -Add on: you will need to put your initialize with every user defined identifier.
from microbit import * ************** insert your python code here ************
Purpose: You will be using the Micro:bit physical Hardware. In this lesson, you will write a Python program to run on the micro:bit that will learn the Microbit Hardware. Your video will be of the actual Micro:Bit hardware. You will drop off 5 files into Google Classroom: • Your files will be: (Remember the python program is dropped off first.) • PX_lastname_InterestingAnimiation.py (Python program) • PX_lastname_InterestingAnimiation.hex (Hex file for Microbit hardware) • PX_lastname_InterestingAnimiation.png (Screenshot) • PX_lastname_InterestingAnimiation.mp4 (Video running the program) • PX_lastname_InterestingAnimiation.mp4 (Video running the program on the micro:bit Hardware) Current Resources needed: Launch the Micro:Bit Python interpreter At this time you will run your code. Use the online Microbit but still download the hex file for hardware use. If you do not understand this assignment, ask Mr. Cusack and/or attend tutorials.