32. Case 30: The Ambient Lighting¶
32.3. Materials Required¶
32.4. Bricks build-up¶
32.6. Coding¶
Add extensions¶
Click “Advanced” in the MakeCode to see more choices.
Search with Wukong in the dialogue box to download it.
Program¶
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.