Measuring pulse width with arduino.

Hi there,

anyone has ever measured the pulse width of a signal, with arduino?

is there a function for this?

that returns for instance -> Thats a 2ms pulse...

I know that this should be polarity oriented... in order to measure the right thing...

Thanks in Advance,

Tony

http://arduino.cc/en/Reference/PulseIn

Cool, Thanks a lot!!