How can I read this and get measurements of the pulses' lenght, in microseconds?
when I scrape the wire from the car onto pin2 (mechanically creating pulses),
The question is how I should proceed to get the Arduino to give me the length of the low periods.
DescriptionReads a pulse (either HIGH or LOW) on a pin. For example, if value is HIGH, pulseIn() waits for the pin to go HIGH, starts timing, then waits for the pin to go LOW and stops timing. Returns the length of the pulse in microseconds. Gives up and returns 0 if no pulse starts within a specified time out.
I was not able to get a stable reading using the AD, perhaps the AD-function is not fast enough?