Arduino Programmer Help

Job ID: 32858461

Budget: £20 – £250 GBP

Im trying to make an arduino drive a moving coil meter using a PWM signal. The input is from the positive connection of a vehicle ignition coil. The meter is required to read out RPM.
I have managed to build aprogram that works with a few minor problems. at present it tries to compute the PWM output continuosly which causes the moving coil instrument to be very iratic. I need help to "average" the input readings to hopefully smooth out the meter movement.