On Mon, Apr 6, 2009 at 12:38 PM, Rob Hamerling <[email protected]> wrote:
> I think we may rely on the MCC18 compiler for the group assignment (see > pconfig.h), and also on the corresponding 'all-pins-digital' settings (see > adc.h). But I'm afraid this is not true in all cases! Take for example the 18f1230. According to pconfig.h of MCC18 this PIC belongs to the ADC_V4 group. The datasheet tells me that for digital I/O the bits in ADCON1 should be set to '1', but ADC.h of MCC18 specifies for group ADC_V4 for 'all digital': 0b00000000. Since we use the axiom that the datasheet is always right MCC18 must be wrong! Conclusion: double checking is highly recommended! Regards, Rob. -- Rob Hamerling, Vianen, NL (http://www.robh.nl) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
