Deze slide heeft geen instructies
Deze slide heeft geen instructies
Deze slide heeft geen instructies
USB Connector
Input Button
LED Lights
Compass & Accelerometer
Battery Socket
Reset Button
CPU
Deze slide heeft geen instructies
MakeCode Link
Deze slide heeft geen instructies
Deze slide heeft geen instructies
Special rule: Avoid pressing the Download button itself - click three dots and opt to download as file and then save directly to the microbit
The teacher will have shown you how to make the first couple of faces for the mood.
So, when your microbit set up and working:
Add more expressions so you have one for both buttons and one for shaking the microbit (3 in total).
Avoid pressing the Download button itself - click three dots and opt to download as file and then save directly to the microbit
Challenge
Have your microbit display a message
when the A or B buttons are pressed.
You'll need this block:
Deze slide heeft geen instructies
Golden rule:
Try for your self before you check
"I have not failed. I've just found 10,000 ways that won't work."
Thomas Edison
TASK 1
Using experimentation, find out how to change the number between 1 and 6 when you shake the micobit.
The next slide is a help sheet to make variables and solve the problem for scaffolding groups
How many LEDS does the Microbit have?
15
21
23
25
Deze slide heeft geen instructies
What is the part within the blue box called?
Compass
USB Connector
CPU
LED Lights
Deze slide heeft geen instructies
What is the part within the blue box called?
Input Buttons
CPU
Compass
LED Lights
Deze slide heeft geen instructies
Breather
"Almost everything will work again if you unplug it for a few minutes, including you."
Anne Lamott
Now, have a think and fill out the following...
Deze slide heeft geen instructies
Fill in the blanks
The microbit is a pocket-sized computer.
It has a LED light display, buttons, sensors and many input/output features that, when programmed let it interact with you and your world.
You tell computers like the microbit what to do by giving them instructions. Sets of instructions for computers are called programs.
Programs are written in code, a language that both you and the computer can understand.
Transferring your program to your microbit is called flashing because it copies your program into the microbit's flash memory.
Your microbit will pause and the Yellow LED on the back will blink while your program is being transferred. Once it's copied across, your program starts running on your microbit.
Deze slide heeft geen instructies
Deze slide heeft geen instructies
Deze slide heeft geen instructies
Deze slide heeft geen instructies
Deze slide heeft geen instructies
Golden rule:
Try for your self before you check
"I have not failed. I've just found 10,000 ways that won't work."
Thomas Edison
TASK 2
Last time you made a simple dice program using 3 bricks of code
Can you modify this program to use a variable instead so that this value is then stored?
MakeCode Link
Dice program guide
When you're ready, check your solution against the one hidden by the + sign below
Deze slide heeft geen instructies
Golden rule:
Try for your self before you check
"I have not failed. I've just found 10,000 ways that won't work."
Thomas Edison
TASK 3
Pause and have a think about how you can use the random generator to create the classic Rock, Paper, Scissors game on the microbit.
Discuss it with your talk partner for a minute.
Then, try creating it!
There is a set of 3 slides for this.
This first one is the baseline.
The second one is for sets that need more of a structured guide.
The third the one is for solution checking.
Golden rule:
Try for your self before you check
"I have not failed. I've just found 10,000 ways that won't work."
Thomas Edison
TASK 3 Guide
Pause and have a think about how you can use the random generator to create the classic Rock, Paper, Scissors game on the microbit.
Discuss it with your talk partner for a minute.
Then, try creating it!
This is the second slide featuring a guide link.
Golden rule:
Try for your self before you check
"I have not failed. I've just found 10,000 ways that won't work."
Thomas Edison
TASK 3 - Solution
Pause and have a think about how you can use the random generator to create the classic Rock, Paper, Scissors game on the microbit.
Discuss it with your talk partner for a minute.
Then, try creating it!
This is the third slide - this is for a solution walkthrough.
How many LEDS does the Microbit have?
15
20
25
35
Deze slide heeft geen instructies
What are these two circled bits called?
Reset buttons
Input buttons
LED Lights
Accelerometer
Deze slide heeft geen instructies
When button A is pressed what will happen?
Nothing
A heart icon is shown
Hello will scroll past
Hello will scroll past, then the heart is shown
Deze slide heeft geen instructies
What does this code mostly represent?
A dice thrower
A message display
A rock-paper-scissors game
An icon displayer
Deze slide heeft geen instructies
What was the hardest part of Microbits for you?
Deze slide heeft geen instructies