31. Case 31: The Drawing Machine#

31.1. Purpose#


Make a drawing machine.

../../_images/Wonder-Building-Kit-case-31-01.png

31.3. Materials Required#


../../_images/Wonder-Building-Kit-step-case-31-01.png

31.4. Bricks build-up#


../../_images/Wonder-Building-Kit-step-case-31-02.png

../../_images/Wonder-Building-Kit-step-case-31-03.png

../../_images/Wonder-Building-Kit-step-case-31-04.png

../../_images/Wonder-Building-Kit-step-case-31-05.png

../../_images/Wonder-Building-Kit-step-case-31-06.png

../../_images/Wonder-Building-Kit-step-case-31-07.png

../../_images/Wonder-Building-Kit-step-case-31-08.png

../../_images/Wonder-Building-Kit-step-case-31-09.png

../../_images/Wonder-Building-Kit-step-case-31-10.png

../../_images/Wonder-Building-Kit-step-case-31-11.png

../../_images/Wonder-Building-Kit-step-case-31-12.png

../../_images/Wonder-Building-Kit-step-case-31-13.png

../../_images/Wonder-Building-Kit-step-case-31-14.png

31.5. Hardware Connection#

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

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

31.6. Software Platform#


MakeCode

31.7. Coding#


Add extensions#

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

../../_images/Wonder-Building-Kit-case-21-02.png

Search with Wukong in the dialogue box to download it.

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

Program#

../../_images/Wonder-Building-Kit-case-31-04.png

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