pulseIn() function problem for measure frequency