• AVR Freaks

ADC library not being recognized

New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2018/10/02 05:20:05
  • Location: 0
  • Status: offline
2018/10/16 19:09:12 (permalink)

ADC library not being recognized

So downloaded the peripheral libraries and installed it into the xc8 > v2.00 folder and the ADC commands are still not working. Has anyone else had this issue or have a link an adc library I don't know about?

Attached Image(s)


2 Replies Related Threads

    Superb Member
    • Total Posts : 9999
    • Reward points : 0
    • Joined: 2016/06/05 14:55:32
    • Location: One step ahead...
    • Status: offline
    Re: ADC library not being recognized 2018/10/16 19:23:51 (permalink)
    XC8 version 2.0 has reorganised the folders used for include files, which the PLIB installer knows nothing about.
    You'll either need to step back to a v1.xx version of XC8, or grab the source code for the functions you need from the PLIB  sources, and add them in to your project.
    I think you will be surprised when you see that each of those functions contains only a handful of instructions...

    Nearly there...
    Super Member
    • Total Posts : 1966
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: offline
    Re: ADC library not being recognized 2018/10/16 19:33:54 (permalink)
    Not supported in v2. If you are using a newer PIC, it's better to use MCC.

    Free online Microcontroller Tutorials and Projects for Hobbyists and students. From beginners to advanced. Website: www.studentcompanion.co.za
    YouTube Tutorials: https://www.youtube.com/StudentCompanionSA
    Jump to:
    © 2021 APG vNext Commercial Version 4.5