Question: Add a new interrupt to the example using another button. When this button is pressed a servo motor should alternate between rotating to 0 degrees

Add a new interrupt to the example using another button. When this button is pressed a servo motor should alternate between rotating to 0 degrees and 180 degrees.
HINT: You cannot introduce more than 2 interrupts with the External Interrupt method. You will need to use Pin Change Interrupts!

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!