Problem for LCD display program

Status
Not open for further replies.

jameschia

New Member
I using PIC16F877A for 2x16 LCD display.
I using MikroC compiler Version 8.0.
there is some error when i try to compile my program but i totally do not have any idea abt the error because as the error happen even i copy and paste others program.
the error written that " ';' expected but LCD_RS found ".
any idea about this error?

my program attach as below:
 

Attachments

  • display2.c
    863 bytes · Views: 171
First! I'm sure that initializing a string should be written:-

Code:
char message1[] = {"Hello World!!"};
char message2[] = {"Morning!!"};

Second! There should be a new line at the end (after the last "}" )

As far as the error displayed... It may be lower level than we have here.. The LCD routines are not shown
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…