Hi Toon, 2011/1/31 phalox <[email protected]>: > But both state that it doesn't matter what the resolution is set to... > So what does that setting do?? If you use the byte-funtion, you'll get an 8-bit result regardless of the setting. If you use the word-funtion, you get an 10-bit result. However, when 8-bit conversion is selected, the lower 2 bits are zero.
> Isn't there anybody else that has problems with the library? I have with the new adc library. > AD conversions is kind of elementary, so why doesn't this work? It works for me when I set the adcon registers myself. > And how to debug it?? Print the value of the relevant (adcon) registers and check their settings with the datasheet. 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.
