L1 and 2 9.3 Using A Microbit
L1 and 2 9.3 Using A Microbit
5 Minute Timer
Overview | micro:bit
number = 0
while True:
display.show(Image.HAPPY)
sleep(300)
display.show(Image.SAD)
sleep(300)
if accelerometer.was_gesture('up'):
number = random.randint(1, 2)
if number == 1:
display.show(Image.HAPPY)
sleep(2000)
else:
display.show(Image.SAD)
sleep(2000)
Page 96/97 - Answer the 5 questions
These are the applications that you will be using during this unit.
Describe pseudocode?
Look at slide 2
Use this area below to tell me
what you need help with
Success criteria
Look at slide 2