Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

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: 170
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.

New Articles From Microcontroller Tips

Back
Top