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 20*4 ...help me please

Status
Not open for further replies.

dohi

Junior Member level 3
Joined
Aug 8, 2011
Messages
29
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,457
i have lcd 20*4 and it did'n work ..
i try to test it without the full circuit but it did'n work
i connect the Vss to o v , and Vdd to 5 v and it's not work
and i asking to the why of test it
 

please post the circuit, related codings as well as the simulation file, if you are doing one :)
 

the lcd full file located in th post ( help me for lcd project )
and if you did'n find it .. i will send it to you
 

well ... i will send it to you

---------- Post added at 16:06 ---------- Previous post was at 15:38 ----------

/*************************************/
/* Project: Frequency Counter */

/*************************************/

#include <16f877a.h>
#use delay(clock=20M)
#include <lcd420.c>
#include <LCD_D.h>
#fuses hs,nowdt,nocpd,nolvp,noprotect

#byte portc=0x07
#bit led=portc.4

void LCD_D();

unsigned int16 value;

void main()
{
set_tris_c(0x00);
led=1;
delay_ms(500);
LCD_D();
delay_ms(50);

while(1)
{
set_timer1(0);
setup_timer_1(t1_external | T1_DIV_BY_1);

delay_ms(1000); // in protues, should be 1000/3

setup_timer_1(T1_DISABLED);
value=get_timer1();
lcd_gotoxy(11,2);
printf(lcd_putc,"%LU HZ ",value);
led=!led;
}
}

void LCD_D()
{
lcd_init();
delay_ms(50);
printf(lcd_putc,"*Frequency Counter*");
lcd_gotoxy(1,2);
lcd_putc("Frequency=");
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top