Download code 1 to micro : bit, and dial POWER to ON end. All four
WS2812RGB LEDs light up a different color a time cyclically.
Download code 2 to micro:bit, WS2812RGB LEDs display like flow light.
Download code 3 to micro: bit, every WS2812RGB light shows random
color one by one.
(How to download? How to quick download?)
Project 15:Servo
(1)Project Description
For those DIY smart cars, they often have the
function of automatic obstacle avoidance. In the
DIY process, we need a servo to control the
ultrasonic module to rotate left and right, and
then detect the distance between the car and the obstacle, so as to control
the car to avoid the obstacle. If other microcontrollers are used to control
the rotation of the servo, we need to set a certain frequency and a certain
width of pulse to control the servo angle. But if the micro:bit main board is