rmain1972
Member
I also moved
to inside of the loop, Oshon Soft is doing the A/D conversions without any problems. So that may be your issue. According to the Delay_ms(100), your delaying for 100ms instead of 1ms. Is that what you want?
C:
ADCON0=0b00000001; //Left justified, Channel AN0 selected, ADON On
Delay_ms(100) ; //Allow 1ms for holding cap to charge
to inside of the loop, Oshon Soft is doing the A/D conversions without any problems. So that may be your issue. According to the Delay_ms(100), your delaying for 100ms instead of 1ms. Is that what you want?
Attachments
Last edited: