27. Case 25: The Egg Beater¶
27.3. Materials Required¶
27.4. Bricks build-up¶
27.5. Hardware Connection¶
Connect a motor to M1 port on Wukong breakout board.
27.7. 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 the micro:bit is powering on, it displays a heart icon. When button A is pressed, the egg beater starts rotating, and when button B is pressed, it stops rotating.