Case 32: Robot Dog
Purpose
Make a robot dog.
Link:
Materials Required
Bricks build-up
Hardware Connection
Connect a motor to M1 port on Wukong breakout board.
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/_E5pWvtMr1CK1
Result
When button A is pressed, the robot dog moves forward; and when button B is pressed, the robot dog stops moving.