16. Case 15: Volume Reminder¶
Make a volume reminder with micro:bit.
16.2. Quick to Start¶
Nezha expansion board × 1
micro:bit × 1
servo × 1
RJ11 wires × 1
Bricks × n
Connect the 360 degrees servo to S1 port on the Nezha expansion board.
16.3. MakeCode Programming¶
Click “Advanced” in the MakeCode drawer to see more choices.
We need to add a package for programming. Click “Extensions” in the bottom of the drawer and search with “PlanetX” to download it.
We need to add a package for programming. Click “Extensions” in the bottom of the drawer and search with “Nezha” to download it.
Note: If you met a tip indicating the codebase might be deleted due to incompatibility, you may continue as the tips say or create a new project in the menu.
Programme as the pictures indicate¶
The servos drive in accordance with the change of the volume.