Skip to main content

Case 30: The Ambient Lighting

Purpose​


Make an ambient lighting.


micro:bit Wonder Building Kit

Materials Required​


Bricks build-up​


Software Platform​


MakeCode

Coding​


Add extensions​

Click "Advanced" in the MakeCode to see more choices.

Search with Wukong in the dialogue box to download it.

Program​

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

Result​

When button A is pressed, the four Rainbow LEDs of the Wukong breakout board will light up. Pressing button A again, the color will change; and when button B is pressed, all LEDs are off.