www.keyestudio.com
delay(2);
}
//***************************************************************
Upload code, press it by hand to observe the the LED brightness.
Project 4: Servo Control
(1) Description
Servo motor is a position control rotary actuator. It mainly consists
of housing, circuit board, core-less motor, gear and position
sensor. Its working principle is that the servo receives the signal
sent by MCU or receiver and produces a reference signal with a
period of 20ms and width of 1.5ms, then compares the acquired DC
bias voltage to the voltage of the potentiometer and obtain the
voltage difference output.
91