Question: Problem 2: Write a program that reads the Vx and Vy of your thumb stick in your kit. The Vx should control of brightness of

Problem 2: Write a program that reads the Vx and Vy of your thumb stick in your kit. The Vx should control of brightness of an LED from off to fully on. The Vy should control a Motor. The motor should be in reverse in one direction of Vy and forward in the other. Implement a deadband of plus and minus 10% around the center position of Vy. You would have maximum speed at 0 and 1023 of Vy. Problem 2: Write a program that reads the Vx and Vy of your thumb stick in your kit. The Vx should control of brightness of an LED from off to fully on. The Vy should control a Motor. The motor should be in reverse in one direction of Vy and forward in the other. Implement a deadband of plus and minus 10% around the center position of Vy. You would have maximum speed at 0 and 1023 of Vy
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
