Skip to main content

Case 19: The Crawler

Purpose


To make a crawler.


micro:bit Wonder Building Kit

Materials Required


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

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

Result

The crawler moves forward when button A is pressed, and stops moving when button B is pressed.