Question: Build a system with six LEDs. When I flick the joystick to the right, the next LED on the right lights up while all others

Build a system with six LEDs. When I flick the joystick to the right, the next LED on the right lights up while all others are off. When I flick the joystick to the left, the next to the left will light up and all others will be off. If I reach the ends on either direction, the system will just keep the last led in that direction on. Essentially we are using the joystick to move left and right. This system should not include delay, and should use millis() when changing the light array.

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!