51. Case 47:Wipers¶
51.3. MakeCode Programming¶
Step 1¶
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.
Step 2¶
Code as the picture suggests¶

Result¶
When the microbit is powered on, it displays a heart pattern. When button A is pressed, the wiper starts to driving. When button A is pressed again, the wiper accelerates the movement. When button B is pressed, the wiper slows down.




















