Case 21: The Spider Walker
Purpose
Make a spider walker.
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/_fyVf4ii4v0p8
Result
The spider moves forward when button A is pressed, it moves backward when button B is pressed, and it stops moving when button A+B is pressed.