Case 30: The Ambient Lighting
Purpose
Make an ambient lighting.
Link:
Materials Required
Bricks build-up
Software Platform
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.