button trouble?

Hi ,

I will suggest you to see the debounce state of push button using delays() first to get a good comprehension of the thing. and then move on with using millis().

Try using conditional functions as if ( reading == HIGH) { --- } instead of assigning everything to variables, just to grasp what happening behind the code.

....

taz