Eng.Wad
Member level 2
Hi everyone,
I'm looking forward to interfacing LCD with PIC18f2550.
I found this code.
The website didn't upload "lcd.h" neither "delay.h" .. can anybody provide me with them
I appreciate your effort.
Thanks
I'm looking forward to interfacing LCD with PIC18f2550.
I found this code.
Code:
#include <htc.h>
#include "lcd.h"
#include "delay.h"
/*******CONFIGURATION SETTINGS********/
#pragma config FOSC = HSPLL_HS
#pragma config PWRT = OFF
#pragma config BOR = OFF
#pragma config WDT = OFF
#pragma config LVP = OFF
/*************************************/
void main()
{
TRISC = 0x00;
TRISD = 0x00;
LCD_Init();
while(1)
{
DelayMs(1);
LCD_GOTOXY(1,4);
LCD_Str("PIC18F4550");
DelayMs(1000);
LCD_GOTOXY(2,5);
DelayMs(1);
LCD_Str("LCD TEST");
DelayMs(1000);
LCD_Clear();
}
}
The website didn't upload "lcd.h" neither "delay.h" .. can anybody provide me with them
I appreciate your effort.
Thanks