Question about pulseIn

holmes4, I did not understand your answer, sorry.

Using Serial.print () shows these values, separated by tabs. Although many seconds press, usually 0:

0 145 0 0 0 0 0 323 463 0 0 549 2 0 0 0 0 0 0 0

Thank you.