Presentation is loading. Please wait.

Presentation is loading. Please wait.

Game Controller Introduction.

Similar presentations


Presentation on theme: "Game Controller Introduction."— Presentation transcript:

1 Game Controller Introduction

2 :GAME ZIP64 4 x buttons micro:bit 2 x buttons Buzzer 64 RGB lights
Vibrating motor

3 Look closer This is one of those RGB LEDs. It has 3 lights in it in those tiny dots: Red, Green and Blue

4 What colour is? Red Green Blue 255 Red Red Green Blue 255 Blue Red
Red Red Green Blue 255 Blue Red Green Blue 255 Yellow Red Green Blue 100 Less Bright Red!

5 How are the lights connected to the micro:bit?

6 Algorithm When I press button A: All the lights will go red.

7 Challenge 1 When I press button A:
All the lights will change to your colour.

8 Challenge 2 When I press button B: Light 1 will go red.
Light 17 will go blue. Light 25 will go green. Light 32 will go a different colour.

9 Challenge 3

10 Challenge 3

11 Advanced 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63

12 Algorithm 1 Set pixel 10 to yellow. Set pixel 11 to yellow.

13 Algorithm 2 Set temp to 10. Loop 4 times: Set pixel temp to yellow.
Change temp by 1.

14 Colour lights 10 to 14 red


Download ppt "Game Controller Introduction."

Similar presentations


Ads by Google