Problem with my serial monitor

GabyC89:

retrolefty:
Have you wired up pull-down resistor for your button input pins?

Lefty

Yes, I also have use pinMode "INPUT_PULLUP", but this not resolve my problem...

Well you can't have both pull-ups and pull-downs used on the same input pin at the same time. Can you describe in detail the complete wiring of a typical button switch you are using and the pinMode command you use to support the button.

All I see in your posted sketch is: pinMode(0,INPUT);

Lefty