Case 48：The Walking Robot
49. Case 48：The Walking Robot#
Build a walking robot with the Nezha Inventor’s Kit.
49.2. Quick to Start#
Build it as the assembly steps suggest:
49.3. MakeCode Programming#
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:
After pressing button A, the robot moves forward. After pressing button B, the robot stops moving.