ADD pulseIn support