1
2
©2017 The LEGO Group.
13
Program with WeDo 2.0
Description of light and sound blocks
Light Block
Lights up the LED on the Smarthub in
a specific colour. The colour can be
changed with a numeric input between
0 and 10.
Pseudocode: Turn LED on to colour 9 (red)
Pseudocode: Turn LED off to colour 0
(nocolour)
Play Sound
Plays a sound. The sound is chosen from
a list available within the software. You
can choose a sound using a numeric
input. Choose sound number 0 to play a
sound that you have recorded yourself.
Pseudocode: Play sound number 1