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 11 years, 11 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

  • Fun with AI and swordfish basic July 19, 2025
  • using a RTC in SF basic July 19, 2025
  • Does US electric code allow branching ? July 19, 2025
  • Faulty heat air gun (dc motor) - problem to locate fault due to Intermittent fault July 19, 2025
  • Sump pit water alarm - Kicad 9 July 19, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 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