8x8 led matrix scrolling message display

Status
Not open for further replies.

mateen

Newbie level 1
Joined
Feb 18, 2013
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
karachi
Visit site
Activity points
1,287
hi
i m working on 8x8 led dotmatrix and i have to make it 10 character display unit

i m using 74hc4094, uln2803 , atmega32 controller & want to generate my code in assembly

can any one help me and give a sample code or some hint for sending data serially to 4094 ????

thanx in advance
 

Hi
You should use three outputs of micro. Data, Clock, Strobe
Set clock to zero
Wait
Set data (zero or one)
Wait
Set clock to one
Repeat above pseudo code eight times then Set strobe to one


I had the following C code with inline assembly from 10 years ago when I was a student. I used 4094 to extend PC parallel port.
You need to call ON() or OFF() eight times then call latch.
For example, If you want to turn all output on call ON() eight times.
If you want to turn all output off call OFF() eight times.

void ON()
{
asm{mov al,3; mov dx,888; out dx,al}
asm{mov al,0; mov dx,888; out dx,al}

}
void OFF()
{
asm{mov al,1; mov dx,888; out dx,al}
delay ();
asm{mov al,0; mov dx,888; out dx,al}
delay ();
}
void LATCH()
{
asm{mov al,4; mov dx,888; out dx,al}
asm{mov al,0; mov dx,888; out dx,al}
}
 
Reactions: mateen

    mateen

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…