Dear Friends
I have two problems with this sketch
1. I need to put a delay for 1 second then turn it off with the help of millis(); for my LED5 to use with an electric latch to unlock the door.
2. I want to put a hardware debounce button for LED 1 to LED 4 to control it from inside the room.
Kindly Guide me on these problems.
Can Some Genius Shorten the code as i have repeated the code 5 times for 5 different Buttons...

Attached File below with all resources, u need to login to see the files and u have to install tinywebserver library along with flash 4 library.