Case 32: Robot Dog
Contents
34. Case 32: Robot Dog#
34.1. Purpose#
Make a robot dog.
34.2. Link:#
34.3. Materials Required#
34.4. Bricks build-up#
34.5. Hardware Connection#
Connect a motor to M1 port on Wukong breakout board.
34.6. Software Platform#
34.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 button A is pressed, the robot dog moves forward; and when button B is pressed, the robot dog stops moving.