8x8 led matrix using 8052 using assembly language

Status
Not open for further replies.

shashy

New Member
hi i have a project to write on led matrix using assemble language

what i have done using 7442 decoder and when set on 00h it gives us the first column and then write what i want on first column i will write you what i wrote

INCLUDE 89c52.mc

MOV 20H, #00001100B
MOV 21H, #00001100B
MOV 22H, #11111100B
MOV 23H, #10000000B
MOV 24H, #11111111B
MOV 25H, #10000000B
MOV 26H, #11111111B
MOV 27H, #11111111B

MOV R2, #00H
MOV R1, #20H

MOV R3, #07

LOOP:
MOV P3, R2
MOV A, @R1
MOV P0, A
INC R1
INC R2

DJNZ R3, LOOP



but then on the simulation the led matrix doesn't even turned on
what am i doing wrong and i should connect two led matrix and move the 2 words right and left could someone plz help me cause this project for the finale exam and i am really worried
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…