Internal Oscillator and pull-up statements for 16f887


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Gusse View Post
    I have never included fuses to PicBasic code, always modified INC-files.
    Delete line from code and check that you have following line in 16F887.INC

    Code:
    __config _CONFIG1, _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_ON & _LVP_OFF & _CP_OFF
    Comparators are off after Power On Reset (POR), so if you haven't enabled those, then they are disabled.

    BR,
    -Gusse-
    I never Fail to include them. To include the configs in your code, open the .inc file and install a semicolon just before the default config so,
    Code:
    __config _CONFIG1, _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_ON & _LVP_OFF & _CP_OFF
    becomes
    Code:
    ;__config _CONFIG1, _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_ON & _LVP_OFF & _CP_OFF
    save it and start including them in your code without error. This way you can quickly adjust them, if you want to change something.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  2. #2


    Did you find this post helpful? Yes | No

    Default Thank you

    Hi Joe

    Thanks a million for the reply and advice :-) ,much appreciated !

    Kind regards
    Dennis

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