can u help me out

divya51088

New Member
there r 7 LEDs and i have to glow each one of them one by one using 8051.so i need da circuit diagram with its programs ,can anyone help me.
 
Yep, or you can make it a little "intelligent"

Code:
MAIN:	        MOV A,#1
		CPL A
CICLE:
		MOV P1,A
		RL A
		CALL DELAY
		JMP CICLE
DELAY:
RET

The connection is the same rushi proposed
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…