Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

"lcd.h" for 2x16 LCD and "delay.h"

Status
Not open for further replies.

Eng.Wad

Member level 2
Joined
Mar 3, 2012
Messages
43
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,551
Hi everyone,

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
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top