ME Labs, Inc.
719-520-5323
 
Home:
  Developer Resources:

Programming Clues
    Sample Programs
   
    PICBASIC PRO™
Compiler Manual
    PICBASIC™ Compiler
Manual
    Serin2/Serout2 Modes
    ASCII Character Set
    Number Conversion
    Floating Point
Routines
    PBP Debug Monitor
    Articles and Tutorials

Hardware Clues
    Parts / Vendor List
    PICPROTO™ Boards
    LAB-X1 Docs
    LAB-X2 Docs
    LAB-X20 Docs
    LAB-X3 Docs
    LAB-X4 Docs
    LAB-XUSB Docs
    LAB-XT Docs
     
 

Warnings about __CONFIG

When you look in the MPASMWIN include file for PIC18 parts, you may find a warning about the deprecation of the __CONFIG directive:

;   IMPORTANT: For the PIC18 devices, the __CONFIG directive has been
;              superseded by the CONFIG directive.  The following settings
;              are available for this device.

At this time, PICBASIC PRO Compiler uses the __CONFIG method exclusively.  The new CONFIG directive will not function as expected when used in your PBP source program.

Microchip has left the older method intact in their files.  You may see some warnings related to __config, but the configuration data will be written correctly to the hex file.  You can verify this when you open the hex file in your programmer software and view the configuration settings.