Action
Override the LCD-options to store the settings in your program.
Syntax
CONFIG LCDPIN = PIN, DB4= P1.1,DB5=P1.2,DB6=P1.3,DB7=P1.4,E=P1.5,RS=P1.6
Remarks
P1.1 etc. are just an example in the syntax. The pins of the LCD display that must be connected in PIN mode are :
Name |
LCD Display |
DB4 |
DB4 |
DB5 |
DB5 |
DB6 |
DB6 |
DB7 |
DB7 |
E |
E |
RS |
RS |
The WR line of the display must be connected to GND.
See also
Example
CONFIG LCDPIN = PIN ,DB4= P1.1,DB5=P1.2,DB6=P1.3,DB7=P1.4,E=P1.5,RS=P1.6