10. Case 10: Boating#

10.1. Purpose#


To make a boating car.

../../_images/case-10-01.png

10.3. Materials Required#


../../_images/case-10-02.png

Video link: https://youtu.be/mT2DdwNPeks

10.4. Bricks build-up#


../../_images/step-case-10-01.png

../../_images/step-case-10-02.png

../../_images/step-case-10-03.png

../../_images/step-case-10-04.png

../../_images/step-case-10-05.png

../../_images/step-case-10-06.png

../../_images/step-case-10-07.png

../../_images/step-case-10-08.png

../../_images/step-case-10-09.png

../../_images/step-case-10-10.png

../../_images/step-case-10-11.png

../../_images/step-case-10-12.png

10.5. Hardware Connection#

将一个电机连接到悟空扩展板的M1接口.

../../_images/Wonder-Building-Kit-case-03-06.png

10.6. Software Platform#


MakeCode

10.7. Coding#


Add extensions#

Click “Advanced” in the MakeCode to see more choices.

../../_images/case-01-03.png

Search with Wukong in the dialogue box to download it.

../../_images/case-01-04.png

Program#

../../_images/case-10-05.png

Link:https://makecode.microbit.org/_4wuFkYirTVqd