CONFIG

Top  Previous  Next

The CONFIG statement is used to configure the various hardware devices.

 

DIRECTIVE

RE-USABLE

CONFIG 1WIRE

NO

CONFIG ACI

YES

CONFIG ADC

NO

CONFIG ATEMU

NO

CONFIG BCCARD

NO

CONFIG CLOCK

NO

CONFIG CLOCKDIV

YES

CONFIG COM1

YES

CONFIG COM2 also COM3, COM4

YES

CONFIG DATE

NO

CONFIG DCF77

NO

CONFIG DEBOUNCE

NO

CONFIG GRAPHLCD

NO

CONFIG HITAG

NO

CONFIG I2CDELAY

NO

CONFIG I2CSLAVE

NO

CONFIG INPUT

NO

CONFIG INTx

YES

CONFIG KBD

NO

CONFIG KEYBOARD

NO

CONFIG LCD

NO

CONFIG LCDBUS

NO

CONFIG LCDMODE

NO

CONFIG LCDPIN

NO

CONFIG RC5

NO

CONFIG PORT

YES

CONFIG PRINT

NO

CONFIG PRINTBIN

NO

CONFIG SERIALIN

NO

CONFIG SERIALIN1

NO

CONFIG SERIALIN2

NO

CONFIG SERIALIN3

NO

CONFIG SERIALOUT

NO

CONFIG SERIALOUT1

NO

CONFIG SERIALOUT2

NO

CONFIG SERIALOUT3

NO

CONFIG SERVOS

NO

CONFIG PS2EMU

NO

CONFIG SINGLE

NO

CONFIG SDA

NO

CONFIG SCL

NO

CONFIG SPI

NO

CONFIG SHIFTIN

NO

CONFIG TCPIP

NO

CONFIG TWI

YES

CONFIG TWISLAVE

NO

CONFIG TIMER0

YES

CONFIG TIMER1

YES

CONFIG TIMER2 and 3

YES

CONFIG USB

NO

CONFIG WATCHDOG

YES

CONFIG WAITSUART

NO

CONFIG X10

NO

CONFIG XRAM

YES

 

Some CONFIG directives are intended to be used once. Others can be used multiple times. For example you can specify that a port must be set to input after you have specified that it is used as an input.

 

You cannot change the LCD pins during run time. In that case the last specification will be used or an error message will be displayed.