Wow, Thank You again Mr.Darrel !
Maybe my code it's wrong ; I use
insteadCode:DEFINE OSC 4 DEFINE ADC_BITS 10 DEFINE ADC_CLOCK 3 DEFINE ADC_SAMPLEUS 50
This is the explanation, don't ?Code:DEFINE ADC_BITS 10 ' ADCIN resolution (Bits) DEFINE ADC_CLOCK 1 ' ADC clock source (Fosc/8) DEFINE ADC_SAMPLEUS 11 ' ADC sampling time (uSec)
NO, I think this is NOT the explanation ! My math teacher it's verry, verry angry...
I learn more here : http://www.darreltaylor.com/DT_Analog/
1 step=0.0048875. So, if I have Max_result 450, Volts= 450 * 0.0048875 =2.199 Volts; for 696 --> Volts= 696 * 0.0048875 =3.401 Volts...
Stupid me, again![]()


...


Bookmarks