Skip to main content

Case 36: Forklift

Purpose​

Make a forklift.

ELECFREAKS micro:bit 32 IN 1 Wonder Building Kit (Without micro:bit Board)

Materials required​

Building steps​

Hardware Connectivity​

Programming Platform​

MakeCode

Programming​

Add extension​

Click Advanced in MakeCode's code drawer to see more code options and click on Extensions.

Search for wukong in the search box, click on wukong in the image and add the expansion pack.

Procedures​

Program Links: https://makecode.microbit.org/_9FodsTURxTme

Result​

After turning it on, When you press button A on the micro:bit, the forklift moves forward; When you press button B on the micro:bit, the forklift moves backward; When you press buttons A+B on the micro:bit, the forklift stops; When you press the logo on the micro:bit, the forklift is raised; When you release the logo on the micro:bit, the forklift is lowered.