#include<16f877a.h>
#use delay(clock=20000000)
#fuses HS,NOWDT,NOPROTECT,NOLVP
//#use rs232(baud=9600,xmit=PIN_C6,rcv=PIN_C7,parity=N,bits=8,ERRORS)
#use rs232(UART1,baud = 9600)
#define LCD_ENABLE_PIN PIN_C0
#define LCD_RS_PIN PIN_C1
#define LCD_RW_PIN PIN_C2
#define LCD_DATA4 PIN_D4
#define LCD_DATA5 PIN_D5
#define LCD_DATA6 PIN_D6
#define LCD_DATA7 PIN_D7
#include <lcd.c>
//[B][I][U]This line after the #define is not valid in C Language[/U][/I][/B]
//[B][U][I]And lcd.c this is wrong as per my knowledge[/I][/U][/B]
unsigned char receive;
void main()
{
set_tris_d(0x00);
set_tris_c(0x00);
lcd_init();
Delay_ms(100);
while(1)
{
lcd_gotoxy(1,1);
Delay_ms(1000);
lcd_putc("Arun Sharma"); // /f clears the display
}
}