Hi there. Here is the project description: You have 6 buttons and 6 LEDs. When one is pressed, the corresponding LED turns on for a few seconds. No other button presses will be registered during those few seconds. After those few seconds, repeat.
Basically I want to have 6 separate interrupts. Currently I have the interrupt setup, but whenever I do a digitalRead, all 6 buttons show up as pressed. Here is my layout:
I have pullup resistors enabled on all button pins. I can also see why all the buttons show up as pressed when I press just one. However, I have not been able to come up with a solution. I'd prefer not to use any solution that involves analogRead() because it doesn't handle multiple buttons at a time very well.
Can anyone help me come up with a solution?