Ok Thanks , I wiil try it, but the datasheet sheet says: bit 7-6 Unimplemented: Read as ‘0’ .. shouldn't there be no difference as what is there?
ok work now, but gives me an 8 bit result instead of 10 bit
I also have these defines in the prog:
Define ADC_BITS 10 ' Set number of bits in result
Define ADC_CLOCK 3 ' Set clock source (3=rc)
Define ADC_SAMPLEUS 50 ' Set sampling time in uSec
K




Bookmarks