Internal Oscillator and pull-up statements for 16f887


Results 1 to 13 of 13

Threaded View

  1. #6


    Did you find this post helpful? Yes | No

    Default compile errors in MCS

    HI Gusse

    MCS won't allow a compile ....
    It seems to have a problem with this line
    Code:
    @__config _INTRC_OSC_NOCLKOUT & _WDT_OFF & _MCLRE_ON & _LVP_OFF & _CP_OFF
    In particular with the first path or the line it seems ...
    Here's the error
    Warning [205]...Found directive in column 1.(__config)
    Error [126] c:......argument out of range (not a valid config register)
    :-(
    Should I rather set those in the include file ?
    And what about the comparator ? Haven't quite master the way to disable it , the manual mentions CMxCON...

    Kind regards

    Dennis
    Last edited by Dennis; - 23rd November 2009 at 19:04.

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