$LCD

Top  Previous  Next

Action

Instruct the compiler to generate code for 8-bit LCD displays attached to the data bus.

 

 

Syntax

$LCD = [&H]address

 

 

Remarks

address

The address where must be written to, to enable the LCD display.

The db0-db7 lines of the LCD must be connected to the datelines D0-D7.

The RS line of the LCD must be connected to the address line A0.

 

On systems with external RAM/ROM it makes more sense to attach the LCD to the data bus. With an address decoder you can select the LCD display.

 

See Also

$LCDRS

 

 

Example

$lcd = &HA000         'writing to this address will make the E line of the LCD high.

Cls

Lcd "Hello world"

End