4-1.Project Introduction
Use the GamePad to control the forklift to stack scattered goods neatly as required. In this project, the joystick needs to be used to control the direction and speed of the forklift, and the buttons E and C will control the ups and downs of the forklift plate.block by dragging.
The specific control methods are as follows:
Note: The wider the joystick moves, the faster the Maqueen car runs.
4-2.Program Link and Screenshot
GamePad Remote Control Transmitting End – Program Link:
https://makecode.microbit.org/_Ux1EeH4myA8W
Maqueen Receiving End – Program Link:
4-3. Effect Display
It is easy to use the GamePad to control the forklift. Move the joystick up, down, left, and right to control the movement of the car, and use the buttons E and C to control the up and down of the forklift to stack the scattered goods neatly.
Note: the maximum height the forklift can reach is only 6cm, pay attention to the height when selecting the stacked goods.