Can't get expected readings using PulseIn command

Did you try the code that I posted in reply #10?