#config...#endconfig


Closed Thread
Results 1 to 17 of 17

Hybrid View

  1. #1
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default Re: #config...#endconfig

    Quote Originally Posted by ptig185 View Post
    ...I turned the WDT off though. don't know what the other options are....

    I usually try to turn off as much stuff as possible. I figure they cost overhead that I could use for my own program instead.

    Then I turn features on as I need them 'cause I often turn off too much stuff.

    Robert


    EDIT: Maybe this might shed some light on features:

    http://www.picbasic.co.uk/forum/cont...-for-Beginners
    Last edited by Demon; - 1st September 2012 at 23:21.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: #config...#endconfig

    Quote Originally Posted by Demon View Post
    I usually try to turn off as much stuff as possible. I figure they cost overhead that I could use for my own program instead.
    A config bit is either on or off, but it is still a bit.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jan 2005
    Location
    Montreal, Quebec, Canada
    Posts
    3,154


    Did you find this post helpful? Yes | No

    Default Re: #config...#endconfig

    Quote Originally Posted by mackrackit View Post
    A config bit is either on or off, but it is still a bit.
    I know, but don't features generate more code if they are active?

    PWM, USB, etc.

    Robert


    EDIT: An example of unnecessary overhead:

    ADON: ADC Enable bit
    1 = ADC is enabled
    0 = ADC is disabled and consumes no operating current
    I rarely use ADC, apparently having it on for nothing would consume current needlessly (probably very little, but still).
    Last edited by Demon; - 3rd September 2012 at 06:20.

  4. #4
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default Re: #config...#endconfig

    The ADC is not in the configs as this thread was about.

    But you you are correct about some of the "features".
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,115


    Did you find this post helpful? Yes | No

    Default Re: #config...#endconfig

    Long time ago there was the idea of having an "auto" configurator maybe through graphic environment, for the chip that the user uses and some of the good folks here were trying to figure out how to do this.

    I suppose that it was a bit of a headache and the project quietly was abandoned.

    Maybe it is time to start it over again.

    Ioannis

  6. #6
    Join Date
    Nov 2008
    Posts
    60


    Did you find this post helpful? Yes | No

    Default Re: #config...#endconfig

    Is the IDE able to use plug-ins? maybe a external program that you can call from the IDE that will parse the device info file and list the available fuses?
    Regards
    CharlieM
    Using PBP3
    MCSPX

  7. #7
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,648


    Did you find this post helpful? Yes | No

    Default Re: #config...#endconfig

    http://www.picbasic.co.uk/forum/showthread.php?t=13663

    no, no ... not on the head, please !!!

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts