• AVR Freaks

Hot!ADC library not being recognized

Author
DPaul1988
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)
0

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)

#1

2 Replies Related Threads

    qhb
    Superb Member
    • Total Posts : 9998
    • 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)
    0
    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...
    #2
    katela
    Super Member
    • Total Posts : 1284
    • Reward points : 0
    • Joined: 2013/06/11 05:25:18
    • Location: South Africa
    • Status: online
    Re: ADC library not being recognized 2018/10/16 19:33:54 (permalink)
    0
    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
    #3
    Jump to:
    © 2019 APG vNext Commercial Version 4.5