It's ok with "pause'... I have though just one question...
If I use this code:
Code:
DEFINE OSC  4
DEFINE ADC_BITS 10
DEFINE ADC_CLOCK 3
DEFINE ADC_SAMPLEUS 50
....
Code:
 for cnt = 1 to 3
 	adcin 3, adval
 	vt=adval * 5000
 	vt=div32 1023
 	grup=vt+grup
 	pause 20
 next cnt
 vs=grup / 3
how small can be "pause' for correct reading of ADC ?
Thanks in advance !