Description of PulseIn

value: type type of pulse to read: either HIGH or LOW. (int)

type is doubled notified, pls change

Fixed.