Presentation is loading. Please wait.

Presentation is loading. Please wait.

Starter Activity Instructions: Complete the starter sheet Planner

Similar presentations


Presentation on theme: "Starter Activity Instructions: Complete the starter sheet Planner"— Presentation transcript:

1 Starter Activity Instructions: Complete the starter sheet Planner
Stationary Bags Away Instructions: Complete the starter sheet Colour in the squares so that they match coordinates List all the hardware and software you can think off Explain the difference between input and output device Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Micro:bit, Variable

2 Objectives All learn how to show LEDs on the LED screen
Most learn how to run code when an input button is pressed Learn the function of the accelerometer Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Micro:bit, Variable

3 Smiley face You are going to create pictures using the LEDs.
Step 1 – go onto Click create code: Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Micro:bit, Variable

4 TASK1 - Smiley face Drag out a show LED block from the basic tab. Tick the boxes to make a smiley face Press run to see what happens on the onscreen Microbit. Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Micro:bit, Variable

5 Objectives All learn how to show LEDs on the LED screen
Most learn how to run code when an input button is pressed Learn the function of the accelerometer Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Micro:bit, Variable

6 Task 2 – winking smiley face
Drag out one more show LED block with a normal smiley face and press run to see what happens now. Drag out another show LED block with a winking face and press run to see what happens. Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Micro:bit, Variable

7 Task 2 - smiley face Go into the input tab and drag out a ‘on button A pressed do’. Drag this block and wrap around the 3 show LED blocks and run this. This time you will need to press the A button on the onscreen Microbit. Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Micro:bit, Variable

8 Extension Program so that when the B button is pressed your microbit goes from happy to sad to really sad. Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Micro:bit, Variable

9 Objectives All learn how to show LEDs on the LED screen
Most learn how to run code when an input button is pressed Learn the function of the accelerometer Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Micro:bit, Variable

10 Lets code another program.
Click on New project on the Microsoft Block Editor box. Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Microbit, Variable

11 Lets code our another program.
Rename your project “DICE” On the left are your code blocks, just like scratch they are split into sections and different colours. Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Micro:bit, Variable

12 Lets code another program.
Open up the input tab and drag into your script area on shake do. We then need to create a variable and call it roll. Insert the for green loop block and click the drop down menu and select new variable call it roll Insert a match block picking a random number and drop this in the 2nd loop box and change the range to 6. Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Micro:bit, Variable

13 Lets code another program.
Then insert a if logic box with a maths 0=0 block with a basic show LED block underneath You then need to insert the variable roll into the first equals statement and then a 1 into the second equals statement. Then draw out a 1 ticking the boxes you would like to light up. Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Micro:bit, Variable

14 Lets code another program.
Right click the if statement and duplicate (just like scratch and put underneath the IF block. Change the 2nd number to say 2 and change the ticks so that a 2 will light up. Keep doing this for all 6 numbers. Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Micro:bit, Variable

15 Lets code another program.
Then press compile. Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Micro:bit, Variable

16 Objectives All learn how to show LEDs on the LED screen
Most learn how to run code when an input button is pressed Learn the function of the accelerometer Keywords: Buttons, Hardware, Software, Input, Output, Accelerometer, Micro:bit, Variable


Download ppt "Starter Activity Instructions: Complete the starter sheet Planner"

Similar presentations


Ads by Google