Pic12f1840 ADC problem
Posted: Mon Jun 03, 2013 4:12 pm
Hi
Pic12f1840 give me a random value when i use the read as int, when i use the read as byte everything work perfect.
I have a LM35 temperatur sensor connectet to adc2 an i want to use the read as int because it´s give me a better resolution.
When i look in the C code i can see it´s the adc_23 there is been used,is this the right one?
someone having the same problem?
Soren
Pic12f1840 give me a random value when i use the read as int, when i use the read as byte everything work perfect.
I have a LM35 temperatur sensor connectet to adc2 an i want to use the read as int because it´s give me a better resolution.
When i look in the C code i can see it´s the adc_23 there is been used,is this the right one?
someone having the same problem?
Soren