28. case 24 The Climbing LEDs#

28.1. Introduction#

To make a climbing LEDs effect with the built-in sound sensor on the micro:bit.

28.2. Quick Start#

Materials Required#

Nezha expansion board × 1

micro:bit V2 × 1 Tips: You may need to purchase Nezha Inventor’s Kit if you want all the above compoents.

28.3. MakeCode Programming#

Step 1#

Click “Advanced” in the MakeCode to see more choices.

microbitKit/Nezha_Inventor_s_kit_for_microbit/images/case_24_10.png

Reference#

Link: https://makecode.microbit.org/_edDbuTF37eix

You may also download it directly below:

Result#

The numbers of the light-up LEDs change with the sound level surrounding the micro:bit.