Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started