Help with switching on 8051

Status
Not open for further replies.

gpdegz

Newbie level 1
Joined
Nov 27, 2012
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,287
Good day to all, I'm new here, but can you please help me on my problem?
I need to create a switching sequence that uses 2 sensor as switch. one will be used as a toggle and one will be an interrupt.

I have this code so far


It supposed to, on sensor 1 low which is 3.4 will light up port 1.6 and port 1.7 every time it goes to high. while 3.1 will be used as interrupt
that will light up 1.6 and 1.7 at the same time.

Regards and more powers
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…