• AVR Freaks

Hot!ADC not generating custom names.

Author
eclipse80
New Member
  • Total Posts : 18
  • Reward points : 0
  • Joined: 2016/03/06 10:16:00
  • Location: 0
  • Status: offline
2019/02/13 21:44:32 (permalink)
0

ADC not generating custom names.

Unless you open the ADC tab the MCC does not generate the custom names, it will only generate the default ones like AN0.
 
In the picture i use AN4 and named it "channel_AN4_BAT", this does not get generated unless i have opened the ADC tab.
 
 AN0 also gets the wrong value, it should be 0x00 not 0x02.
 
Tested with:
PIC16F1786
XC8 2.05
MPLAB X IDE 5.10
MCC 3.75
post edited by eclipse80 - 2019/02/21 07:25:12

Attached Image(s)

#1

3 Replies Related Threads

    PA91
    Junior Member
    • Total Posts : 55
    • Reward points : 0
    • Joined: 2012/09/03 21:45:40
    • Location: 0
    • Status: offline
    Re: ADC not generating custom names. 2019/04/01 10:22:29 (permalink)
    0
    Hi,
    I tested this with the latest 3.75v plugin and I am able to generate edit the ANx pin and also it gets generated.

    Attached Image(s)

    #2
    eclipse80
    New Member
    • Total Posts : 18
    • Reward points : 0
    • Joined: 2016/03/06 10:16:00
    • Location: 0
    • Status: offline
    Re: ADC not generating custom names. 2019/04/05 08:49:39 (permalink)
    5 (1)
    Renukaprasad
    Hi,
    I tested this with the latest 3.75v plugin and I am able to generate edit the ANx pin and also it gets generated.




    Hi
    If you load the configuration file and do not open the ADC tab the problem occurs. If you open the ADC tab it works.
     
    #3
    smooth.sailing
    New Member
    • Total Posts : 2
    • Reward points : 0
    • Joined: 2012/05/02 23:14:51
    • Location: 0
    • Status: offline
    Re: ADC not generating custom names. 2019/07/08 21:49:57 (permalink)
    0
    I had the same problem.  I tried deleting the file.  I tried a Force Update.  After seeing Eclipse80's post, I opened the ADC tab and it fixed the problem.  Thank you.
    #4
    Jump to:
    © 2019 APG vNext Commercial Version 4.5