Results 1 to 1 of 1

Thread: Question for using 8051 and 4094

  1. #1
    hinghing2004
    Guest

    Lightbulb Question for using 8051 and 4094

    Question for using 8051(AT89S52) and CD4094BE I want to use AT89S52 connecting with CD4094BE to control 8 LED light bulbs. The program lanuage is ASM. My aim is the led lights up are as follow : 1011 0011 ,1=off, 0= light up:
    777.jpg
    the program are as follow : ORG 0000H
    AJMP MAIN

    MAIN:
    SETB P1.4 ;STR
    MOV A, #10110011 ;put the data into acc
    MOV P1.3 , A
    RRC A
    SETB P1.2 ;CLK
    CLR P1.2 ;CLK
    AJMP MAIN

    what's wrong with my program/the schematic diagram and how to correct it ? Thank you.
    Last edited by Kelly_Bramble; 02-17-2014 at 07:59 AM. Reason: Attache image

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •