Case 41：The Forklift
Build a forklift with the Nezha Inventor's Kit.
Quick to Start
Build it as the pictures suggest:
We can see that the construction is completed as shown in the following figure:
Click "Advanced" in the MakeCode drawer to see more choices.
For programming Nezha Breakout Board, we need to add a package. Search with "Nezha" in the dialogue box and click to download it.
Notice: If you met a tip indicating that some codebases would be deleted due to incompatibility, you may continue as the tips say or create a new project in the menu.
Code as the picture suggests
You may also download it directly:---
Press button A, the forklift drives forward for 2 seconds, and lifts the fork, then continues driving forward for 2 seconds, then puts down the fork, finally reverses a certain distance and stops.