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.

please i need multiplexing asm code for 4 seven segment

Status
Not open for further replies.

naeem_28

Newbie level 4
Joined
Mar 31, 2011
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,350
i want to understand multiplexing and want to make count meter 4 digit

with 89c51 i need asm code


thank you
 

Here's pseudocode for what you want:

Code:
for each digit
    select digit i by grounding common cathode
    apply seven-segment drive for this digit
end for

This code will need to sequence through the digits at least 40Hz or faster.
However, don't scan too fast since that will reduce the apparent LED brightness.
 

The multiplexing part will be understood as you get the seven segment display working in sequence.

In regards to ASM compiling: try keil or sdcc which have a free version or limited version and accomodate C code. So you dont have to deal with ASM.

If you want ASM
essentially you could use the data bus and connect each one to a different segment..etc.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top