servo is connected to Gnd (G), the red wire is linked with 5v (V), and the
orange wire is connected to digital pin 9.
When connecting the steering gear, an external power supply must be
used. Because the current requirement for driving the steering gear is
relatively large, and the current of the development board is far from
enough. If the external power supply is not connected, the development
board is likely to be burned out.
(5)Test Code1:
/*
keyestudio sun_follower
lesson 9.1
servo
http://www.keyestudio.com