Darth Maul
Junior Member level 1

- Joined
- Jul 19, 2007
- Messages
- 18
- Helped
- 2
- Reputation
- 4
- Reaction score
- 0
- Trophy points
- 1,281
- Location
- Yogyakarta, Indonesia
- Activity points
- 1,436
Can we use pins on at89s52 in different direction on the same port? E.g. pin 3.0 as RxD, pin 3.1 as TxD, pin 3.2 to 3.6 as output and p3.7 as input. I have found several sources saying that we can do that by setting the input pin high (P3_7 = 1; //SDCC), by i just want to make sure. Need for advice pls. Thanx in advance.