chalani0088
Junior Member level 3
- Joined
- Jun 19, 2012
- Messages
- 27
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,562
Hi , I want to interface LCD module with PIC 16f877a
I used the following code and used Hitech C
my main program is,
#include <htc.h>
#include "lcd.h"
void
main(void)
{
lcd_init();
lcd_goto(0); // select first line
lcd_puts("12345678");
lcd_goto(0x40); // Select second line
lcd_puts("Hello world");
for(;;
}
and I have attached the LCD source code and also the circuit I used,
But it didn't display anything and showed black rectangulars, didnt show cursor either/
Can anybody help me
thnk you
I used the following code and used Hitech C
my main program is,
#include <htc.h>
#include "lcd.h"
void
main(void)
{
lcd_init();
lcd_goto(0); // select first line
lcd_puts("12345678");
lcd_goto(0x40); // Select second line
lcd_puts("Hello world");
for(;;
}
and I have attached the LCD source code and also the circuit I used,
But it didn't display anything and showed black rectangulars, didnt show cursor either/
Can anybody help me
thnk you