Hi Toon,

> ADCON1 = 0b00001110;    // AN0 = analog
> ADCON2 = 0b00010110;    // Left justified, 4TAD, Fosc / 64

This does not look like the jal adc library ;)

I'm not an expert on ADC, but you're probably looking in the right
direction. More specific: you probably read the lower 8 (or 4?) bits
of a longer value. Check the adc size, high (if any) and low result
register. And mind the right/left justification.

Joep

-- 
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en.

Reply via email to