pulseIn Bug

From the picture (more than good enough) I see the following: correct me if I'm wrong

  • The blue signal looks like it really takes time to get up to its max => looks like a "big capacitor effect". Are you using long/thick cables?
  • The blue signal is 3V. IIRC this is in the undefined range of TTL levels. It just could be that the HIGH level is not seen as HIGH