Cyber Logo

Foundations of Cybersecurity

Lesson 2 - Draw these images.

Lesson 2
	Draw a chessboard
	Draw a house
	Draw a Xmas tree

Display each image for about 3 seconds.
Each image must go from full LED light
to 1/2 LED light to zero LED back to
1/2 LED light to full LED.
Remember the last digit indicate brightness.
Then rotate to the next image.
Pause for 3 seconds
Clear the display
Display the next letter.
Have this run continously. 

Click here for resource one.

Click here for resource two.

Hints: 
from microbit import *
display.set_pixel(2,0,9)
display.set_pixel(1,1,9)
display.set_pixel(2,0,9)

Hint: To clear the display
display.clear()
           
            
            You will drop off 4 files into Google Classroom:
            • Your files will be: (Remember the python program is dropped off first.)
                • PX_lastname_Image_C_H_X.py (Python program)
                • PX_lastname_Image_C_H_X.hex (Hex file for Microbit hardware)
                • PX_lastname_Image_C_H_X.png (Screenshot)
                • PX_lastname_Image_C_H_X.mp4 (Video running the program)

            
              Current Resources needed:
                 Check in and check out your Micro:Bit
                 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.
        

Additional Resources

Cyber Range Passwords (Period 1)

Cyber Range Login

Note: Use Ctrl + Shift + Alt to copy/paste between Linux virtual and Windows environments.