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

RodneyKnorb
Thu Apr 25 2024, 07:08 pm
Williamjef
Thu Apr 25 2024, 02:08 pm
SamuelSmise
Thu Apr 25 2024, 09:56 am
DustinErele
Thu Apr 25 2024, 08:44 am
ztaletpzca
Wed Apr 24 2024, 11:19 pm
IrardlPex
Wed Apr 24 2024, 08:42 pm
Charlestehed
Wed Apr 24 2024, 05:20 pm
Robertgurse
Wed Apr 24 2024, 02:43 pm