The adcbusy.c (0807 snapshot) tests bit 0 in the
ADCON0 reg for the SDCC_ADC_STYLE2455 and SDCC_ADC_STYLE97J60 AD modules to see if the
AD converter is busy. It should test bit 1 for these
AD modules. A simple patch is attached. The AD lib
for the PIC16 is looking much more portable with
respect to the varied modules in different PIC chips.
Log in to post a comment.