chasekan@gmail.com
Member level 1
- Joined
- Jun 23, 2013
- Messages
- 35
- Helped
- 1
- Reputation
- 2
- Reaction score
- 1
- Trophy points
- 8
- Activity points
- 255
INPUT1 EQU P1.0
INPUT2 EQU P1.1
GREEN EQU P0.0
RED EQU P0.1
RELAY EQU P2.0
ORG 00H
STOP: CLR RED
SETB GREEN
SETB RELAY
L1: JNB INPUT2,L1
L2: JNB INPUT1,L2
SETB RED
CLR GREEN
CLR RELAY
L3: JB INPUT1,L3
L4: JB INPUT2,L4
SETB RELAY
CLR RED
SETB GREEN
SJMP STOP
END
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?