I never had any luck with DEFINE ADC_BITS 8 it allways wanted to work in 10 bit. But if you only need 8 bit, do an ADCIN with DEFINE_BITS 10 to a word variable then divide the answere by 4.
Thanks but my problem is the opposite... it works with DEFINE ADC_BITS 8 and give me a byte value... but I need more precision and DEFINE_BITS 10 dont works in my code! :-(
Bye
Stefano
Bookmarks