User Manual
7 8
Project 2 : Sunshine micro:bit
Diculty Level
Part List
Description
2. Sunshine micro:bit
In this demo you will learn how to
use the LED bar graph on your
micro:bit to show the current light
level. The stronger the light is, the
more LEDS will be turned on.
1x Grove - Light Sensor
1x Grove Shield for micro:bit
1x micro:bit
1
2
3
Steps
2. Add basic block forever, then add LED block plot
bar graph of…..up to, amend the block to be plot
bar graph of Light Sensor up to 255.
4. Put your hand over the light sensor to block the
light, and see how the LEDs on micro:bit change.
Try to change the “up to” value from 255 and see what happens
3. Add basic block pause(ms), change the value to
“10”.
3. Click Download to transfer your code in your
micro:bit!
1
1
2
2
2
1
3
P0/P14