8051 programming

0

I want to read status of 2 pins, and assign 1 or 0 to other pins 2 accordingly.

if p1.1 is 1 and p1.2 is 0,then assign 1 to p2.1 and 0 to p2.2

 

 

asked December 31, 2014

1 Answer

0

if p1.1 is 1 and p1.2 is 0,then assign 1 to p2.1 and 0 to p2.2

Your Answer