Question: SERVO MOTOR IS SG90, TECHNICAL DATA CAN BE FOUND ONLINE You may not use analogWrite() and servo related functions. Task 2: Run the servo motor

SERVO MOTOR IS SG90, TECHNICAL DATA CAN BE FOUND

SERVO MOTOR IS SG90, TECHNICAL DATA CAN BE FOUND ONLINE

You may not use analogWrite() and servo related functions.

Task 2: Run the servo motor using PWM. The servo motor should sweep between 0 degrees and 45 degrees continuously. When a button is pressed, an interrupt is generated and the servo motor travels to -30 degrees and stays there. When the same button is pressed a second time, the sweeping between 0 degrees and 45 degrees resumes. (10 pts) Task 2: Run the servo motor using PWM. The servo motor should sweep between 0 degrees and 45 degrees continuously. When a button is pressed, an interrupt is generated and the servo motor travels to -30 degrees and stays there. When the same button is pressed a second time, the sweeping between 0 degrees and 45 degrees resumes. (10 pts)

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 General Management Questions!