Question: Create a modular project which uses a host terminal application and a servo motor. The user can input a value between 1 - 9 which
Create a modular project which uses a host terminal application and a
servo motor.
The user can input a value between which will move the servo motor to a
specified position. An input of moves the servo to degrees left and
moves the servo to degrees the right. Numbers in between move the
servo to a relative position, for example the value will point the servo to the
centre.
You can reuse the GetKeyInput function from the previous
exercise.
You may also need to create a look up table function to convert the input
value to a sensible PWM duty cycle value associated with the desired
servo position
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
