Discussion in "PIC Microcontroller Discussion" started by    turker1    Mar 16, 2008.
Thu Mar 20 2008, 12:19 am
#21
please take a look at tutorial.. you will get a better idea..
http://www.8051projects.net/lcd-interfacing/
Thu Mar 20 2008, 02:17 pm
#22
#if defined(__PCM__)
#include <16F628.h>

#use delay(clock=4000000)
#fuses INTRC_IO,NOWDT,NOPROTECT,NOLVP,NOBROWNOUT
#define use_portb_lcd TRUE 
#include <lcd.c>

void main()
{ 
   lcd_init();//ekranımızı kuruyoruz
   lcd_gotoxy(1,1);
   lcd_send_byte(1,65);
   for(;;)
   {}
}

this is my code.Connection is above..It must display "A" but lcd display :

what is the problem?
Fri Mar 21 2008, 01:43 am
#23
looks like LCD is faulty.. first portion of pixels are not glowing properly...
Fri Mar 21 2008, 01:48 am
#24
hey but it is new. i bought it 2 days ago and cant worked it.
Fri Mar 21 2008, 09:47 am
#25
:-s this is so confusing!!
may i see your LCD routines?
Fri Mar 21 2008, 06:20 pm
#26
it is JHD 162A model.
What is lcd routines?
Fri Mar 21 2008, 11:42 pm
#27
I mean your LCD program.. where have you written your LCD program..
Sat Mar 22 2008, 01:54 am
#28
in ccs c
Sat Mar 22 2008, 03:15 am
#29
where is the code? for LCD.. i mean i want to see that lcd.c file!!!!
Sun Mar 23 2008, 03:22 am
#30
install ccs c it is ccs c library.
look google. every lcd project in ccs includes lcd.c
i dont know its content

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am