Question: Task 2 Add an LED to your project, the brightness of which depends on the position of the servo arm. When the servo arm is

 Task 2 Add an LED to your project, the brightness of

Task 2 Add an LED to your project, the brightness of which depends on the position of the servo arm. When the servo arm is at 0, the LED should be off. It should be at full brightness when the servo arm is at 179,50% brightness when at 90, etc. Copy and paste your code into your report. Demonstrate your project to your lecturer once completed. Task 3 Add another LED to your project. This LED should be on when the servo motor is within 10 of its extremeties (i.e. less than 10 or greater than 170 ) and off otherwise. Copy and paste your code into your report. Demonstrate your project to your lecturer once completed. 3 Task 4 Add a push-button switch to your project such that the servo motor will only chao position if the button is pressed. If the button is not pressed, the servo motor should remain in its current position, regardless of a change in the position of the potentiometer dial

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!