The LED matrix on micro:bit can also function as light level sensor.
Let’s program ZOOM:BIT to automatically turn ON its headlights when the surrounding
is dark, and turn OFF when it is bright.
Do You Know?
1
Extensions are sets of
custom blocks that we
add to MakeCode Editor
to enable us to easily
program micro:bit
accessories, such as our
ZOOM:BIT robot.
Summary of Contents for ZOOM:BIT
Page 1: ......
Page 3: ...Cheryl Ng SC Lim Suhana Oazmi ...
Page 4: ......
Page 5: ...CONTENT ...
Page 8: ......
Page 9: ...1 2 3 ...
Page 10: ...4 5 6 The wires should be facing inwards and the notch facing outwards ...
Page 11: ...0 1 7 Wire Connections Clamp the exposed wire lead and not the insulator ...
Page 12: ...8 9 10 ...
Page 13: ...0 1 0 3 11 13 Wire Connections 12 ...
Page 14: ...13 14 ...
Page 15: ...0 1 0 2 0 3 15 16 17 Wire Connections ...
Page 16: ...18 19 20 Wire Connections ...
Page 17: ...21 22 ...
Page 18: ...0 1 0 2 0 3 23 24 25 Wire Connections ...
Page 19: ...0 1 0 2 0 3 26 27 28 Wire Connections ...
Page 20: ...29 30 31 ...
Page 21: ...32 33 34 ...
Page 22: ......
Page 23: ...1 2 ...
Page 24: ...A B C D H I J K L E G F ...
Page 25: ...A B C D E F G H I J K L ...
Page 26: ...3 4 ...
Page 27: ...5 6 ...
Page 29: ...7 ...
Page 30: ...8 9 ...
Page 36: ...Here s a FUN challenge for you A B C D E M V W X Y Z ...
Page 37: ......
Page 43: ...You can also type keywords in the search box to find the blocks you need Do You Know ...
Page 47: ...Here s a FUN challenge for you It s a very familiar tune Can you guess what melody it is ...
Page 48: ......
Page 50: ...2 3 ...
Page 55: ......
Page 58: ...3 4 ...
Page 63: ......
Page 68: ......
Page 76: ......
Page 82: ...8 ...
Page 85: ......
Page 92: ...4 ...
Page 98: ......
Page 100: ...1 Exclude this music block if you re using micro bit V1 ...
Page 101: ...Next let s add the other modes To do that we re going to use functions 2 ...
Page 105: ...7 Replace with on logo down block if you re using micro bit V1 ...
Page 106: ...8 ...
Page 108: ......
Page 116: ......