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#
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.