CONFIG LCDBUS

Top  Previous  Next

Action

Configures the LCD databus.

 

 

Syntax

CONFIG  LCDBUS = constant

 

 

Remarks

constant

4 for 4-bit operation, 8 for 8-bit mode (default)

 

Use this statement together with the $LCD = address statement.

When you use the LCD display in the bus mode the default is to connect all the data lines. With the 4-bit mode you only have to connect data lines d7-d4.

 

 

See also

CONFIG LCD

 

 

Example

$LCD = &H8000                'address of enable signal

Config LCDBUS = 4                '4 bit mode

LCD "hello"