
LCD pin4 (RS) and 6(E) connected to PIC pin A4 and A5.
LCD pin11 to 14 connected to PIC pin A0 to A3.
Can I know should I initialise the port 1st before LCD display or before the code below?
Code:
void main ( void )
{
lcd_init();
while(1) {
lcd_gotoxy (1,1);
lcd_putc ("test" );
} // end while
}
Need guidance... Thanks alot.
