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.

display counter on LCD - help needed

Status
Not open for further replies.

mandeep220886

Newbie level 3
Joined
Dec 13, 2008
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,304
display counter on LCD

Hello frends.....
I m facing problem in displaying counter on my 2x16 LCD.
I am giving 1Hz pulse on T0 i.e. on P3.4, and i want to display the no. of pulses on the LCD. As the high edge of the pulse comes it should increase the count, and same should be displayed on the LCD. i have connected the LCD data pins to port 1 & control pins to port 2.0,2.1,2.2.
Please make sure that code should be in assembly language because i don't know the C language.
If anybody can help with full codes or better guidance, i will be very thankful to u...

Regards Mandeep
 

Re: display counter on LCD

I m facing problem in displaying counter on my 2x16 LCD? whats the problem you just have given info abt ur project did u try it?
its quite simple
algo:

1) initialize lcd
2) make count = 00
3) display count
4) wait for pin to be high
5) inc count by 1
6) go to 3


check this link for lcd interfacing codes in assembly:
https://www.dnatechindia.com/index.php/Code-Library/
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top