I would like to time, in Milliseconds, the average time between consecutive pulses presented on Pin A1 over say 5 cycles then display it on a lcd display.
The pulses are seconds apart ( they are motor drive pulses for pumping)
Is it possible to have some pointers please to help me out with the counting
Start by figuring out what value/value change of A1 constitutes a pulse.
When you read a pulse, record the time (Use millis()).
When you read the next pulse, note the time and subtract it from the previous time you recorded to get the difference. Look at the Smoothing example for the logic on doing a running average.
these class might be useful - Arduino Playground - HomePage -