Case 01: The Motorcycle
Purpose
To make a motorcycle with the Wonder Building kit.
Link
Materials Required
Video link: https://youtu.be/rLnMMkofipM
Bricks build-up
Hardware Connection
Connect two motors to M1 and M2 ports 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/_K6mFyJ16ofCj
Result
While button A being pressed, the motorcycle moves forward and it reverses if button B is pressed, while pressing button A+B, it stops driving.