You need to get rid of all those delay()s. They are why your switches are not responsive. The blink without delay example is the place to start.
You need to get rid of all those delay()s. They are why your switches are not responsive. The blink without delay example is the place to start.