where is the rest of the adc module setupHow do I set this up. I am using PIC12f1501
ADC_CLOCK = ?
ADC_BITS = ?
ADC_SAMPLEUS =?
Right-Justify ?
OSC = ?
vcc= ? volts
temp is defined as a ? word/byte
it all matters
Code:ADCON0 = %00001111 ; what do you expect from this FVRCON.5 = 1 FVRCON.4 = 1 ADCON0 = %01110111 ; or this adcin 29, temp IF TEMP > 600 THEN LOW PORTA.2
Bookmarks