1.Learning goals
After you downloaded a good program download the program, press A key, you can see the servo to 0 degrees, while the dot matrix display 0, and then press the B key, you can see the servo to 180 degrees, while the lattice display value 180, the children also do it yourself, try to drive a steering gear bar.
2.Preparation:
Hardware:
● BBC micro:bit X 1
● micro:bit expansion board X 1
● USB cable X 1
● Servo X 1
Then the micro:bit is connected to the computer through USB, and the computer will pop up a U disk and click the URL in the U disk to enter the programming interface. Input this URL https://github.com/lzty634158/yahboom_mbit_en to get the package.
3.Search for blocks
4.Combine blocks
The code of the experiment: Lesson 10 Servo control.rar