Do programming for following task. Assume that bit P2.2 is used to control an outdoor light and bit P2.5 a light inside a building. Show how to turn on the outside light and turn off the inside one. Test result in SimHardware
ORG 0000H
MOV A,#04H
MOV P2,A
END
Comments
Post a Comment
if you have any doubts,please let me know