everyone0
Newbie level 4
- Joined
- Dec 11, 2012
- Messages
- 5
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,312
Hello,
I wanted to use pins 1.0 and 1.1 in the AT89C2051 microcontroller as digital pins not analog input pins, so i wanted them to be like the rest of the port 1 pins, but i searched thoroughly through the DataSheet and through the board and couldn't find a register assigned to disable the analog input property of the pins or convert the pins into digital o/p or i/p pins, i am using an 8051 simulator and writing the code in assembly language.
I wanted to use pins 1.0 and 1.1 in the AT89C2051 microcontroller as digital pins not analog input pins, so i wanted them to be like the rest of the port 1 pins, but i searched thoroughly through the DataSheet and through the board and couldn't find a register assigned to disable the analog input property of the pins or convert the pins into digital o/p or i/p pins, i am using an 8051 simulator and writing the code in assembly language.