// LCD 4-bit interface code #pragma SMALL DB OE /*-------------------------------------------------------------------------*/ #include #include "io4.h" /*-------------------------------------------------------------------------*/ sfr DATA_BUS = 0x80; sbit RS = 0xb4; sbit E = 0xb5; /*-------------------------------------------------------------------------*/ static void EnableLCD(int t) { unsigned char i; E = 1; for(i=0; i