Skip to main content

Case 10: Boating

Purpose


To make a boating car.


micro:bit Wonder Building Kit

Materials Required


Video link: https://youtu.be/mT2DdwNPeks

Bricks build-up


Hardware Connection

Connect a motor to M1 port on Wukong breakout board.

Software Platform


MakeCode

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/_4wuFkYirTVqd

Result

When button A is pressed the rower moves forward, when button B is pressed the rower moves backward, when button A+B is pressed the rower stops moving.