Question: Exercise 5 . Analog Input - Basic Servo ( Just do the programming for this Question ) The Joystick you have in your kit has

Exercise 5. Analog Input - Basic Servo
(Just do the programming for this Question)
The Joystick you have in your kit has two potentiometers and a
button. Use the following table to connect the Joystick using
Male/Female wires.
Program Operation
VRx will control the position of the servo:
when VRx increases from zero (left extreme) to 5 Volts
(right) the servo moves counter clock wise
VRy will control the LEDs:
Around the center, the LEDs turn off.
Position UP (more than 60%) Red LED turns ON.
Position Down (more than 40%) Green LED turns ON.
Required Instructions
, #include delay(),
 Exercise 5. Analog Input - Basic Servo (Just do the programming

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!