#112 PIC16: adcbusy test incorrect bit

closed-accepted
nobody
None
5
2008-11-11
2008-08-02
No

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.

Nick

Discussion

  • Nick Materer

    Nick Materer - 2008-08-02

    adcbusy patch

     
  • Raphael Neider

    Raphael Neider - 2008-11-11
    • status: open --> closed-accepted
     
  • Raphael Neider

    Raphael Neider - 2008-11-11

    Applied together with other improvements to the ADC library in svn r5264.

    Thank you.

     

Log in to post a comment.