Case 38：The Mechanical Springtail
42. Case 38：The Mechanical Springtail#
Build a mechanical springtail with the Nezha Inventor’s Kit.
42.2. Quick to Start#
Build it as the assembly steps suggest:
Connect the motor to M1 on Nezha Breakout Board.
42.3. MakeCode Programming#
Click “Extensions’’ 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 and the mechanical springtail crawls forward, press button B and the mechanical springtail stops moving.
Why do we install tires on the mechanical springtail’s arms, and what will happen if we don’t?
Modify your own mechanical springtail and hold races.