Thank you for responding
I will try to describe the problem I face better in order to justify why I think that something like the stable ADC mentioned in my first post might solve it.
A 12f675 chip gets ADC readings of a battery undergoing charging with currents 0,1-4A.
The voltage is monitored and displayed every 1 second with resolution of two decimals (for example 8,17 V).
Since the battery is under charge it's voltage is climping up steadily and the display should show (at 1 sec rate ) voltages like 8,17 - 8,17 -8,17-some time -8,17 -8,17 -8,18 -8,18-some time-8,18- 8,19- some time-etc.
But what happens is that I get the voltage increase in "bursts" of three like 8,17 - 8,18 -8,19- 8,19 - 8,19 -8,19- some time-etc. every time there is a slight increase in voltage.
This is probably due to my manipulation of ADC data with adding 64 readings to achieve a 16 bit result and so on .
Í believe that with the stable adc routine ,mentioned in my first post, I can improve my display of voltages.

Anyway can anyone propose some picbasic equivelant for the stable ADC routine???

Bill