
3
Add the volume control
Drag the
set volume to (100)
block to the blank space in the script area.
4
Add the gear potentiometer block
Drag the
gear potentiometer
block and put it inside the
set volume
block.
Gear potentiometer
Gear potentiometer is an input device
that can be used to adjust values.
Using the gear potentiometer, you
can
change the volume of Codey and
the brightness of the indicator light
.
Note: You can't directly join these round
blocks to other blocks.
Note
:
Don’t add this block to the previous code.
Tip
Содержание Codey Rocky
Страница 1: ...Code for Fun with Codey Rocky www makeblock com mBlock...
Страница 19: ...Codey Turn Codey into a Musician Turn Codey into a Musician Scan the QR code to view the demo...
Страница 24: ...Codey Scan the QR code to view the demo Make Codey Blink Eyes Make Codey Blink Eyes...
Страница 29: ...Make Codey Rocky Identify Colors Make Codey Rocky Identify Colors CodeyRocky Scan the QR code to view the demo...
Страница 34: ...Make Codey Rocky Avoid Obstacles Make Codey Rocky Avoid Obstacles CodeyRocky Scan the QR code to view the demo...
Страница 51: ...Make a Number Bomb Game Make a Number Bomb Game CodeyRocky...