working of pulsein function.......?????

So if you hooked up a switch and used pulseIn on the pin, then you pressed the switch down for 283 milliseconds, that would be its return value.

...but expressed in microseconds.