Case 01: The Motorcycle
Contents
3. Case 01: The Motorcycle#
3.1. Purpose#
To make a motorcycle with the Wonder Building kit.
3.2. Link#
3.3. Materials Required#
Video link: https://youtu.be/rLnMMkofipM
3.4. Bricks build-up#
3.5. Hardware Connection#
Connect two motors to M1 and M2 ports on Wukong breakout board.
3.6. Software Platform#
3.7. 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.