Introduction
Build an eggbeater model via blocks and power it on with the button.
Assembly steps:
If you have Lego studio app, please download this file: The-Eggbeater.io
After assembly, install the motors and Nezha Nezha expansion board with the bricks.
Hardware connections
Software Programm
Step 1
Click “Advanced” in the MakeCode drawer to see more choices
For programming, we need to add a package: click “Extensions” at the bottom of the MakeCode drawer and search with “nezha” in the dialogue box 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.
Step 2
Program:
Link: https://makecode.microbit.org/_8krLdTVAK1J1
Result
Press the crash button to power it on, loose it to power off.