EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / led matrix

led matrix

|

Microcontroller › 8051 › led matrix

  • This topic has 0 replies, 1 voice, and was last updated 12 years, 5 months ago by SADIN.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • August 2, 2013 at 2:21 pm #2561
    SADIN
    Participant

    Can you find errors in my program?

    I use 8051 for display “A” – led matrix 8×8

    Control row: port 2

    Control colum: port 1

     

    ORG 0

    LOOP:   MOV R1,#8

                                    MOV A,#00000001B

                                    MOV DPTR,#CHARA

    LAP:       ACALL HT_COT

                                    PUSH ACC

                                    CLR A

                                    MOVC A,@A+DPTR

                                    ACALL HT_HANG

                                    INC DPTR

                                    POP ACC

                                    RL A

                                    DJNZ R1, LAP

                                    SJMP LOOP

    CHARA: DB          0FFH,3H,0EDH,0EEH,0EDH,3H,0FFH,0FFH 

     

    HT_COT:              MOV P1,A

                                    RET

     

    HT_HANG:MOV P2,A

                                    RET

     

    DELAY_1ms:      

    MOV R7,#5

    DL:          MOV R6,#100

                    DJNZ R6,$

                    DJNZ R7,DL

                    RET

                    END

  • Author
    Posts
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • Unable To Get Advertised Op-Amp Slew Rate January 18, 2026
  • Sine wave distortion January 18, 2026
  • Silicon insulated wire January 18, 2026
  • Wien bridge oscillator January 18, 2026
  • Flip Flop for My Mirrors January 18, 2026

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2026 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise