This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

C51 Port I/O Simulation problem

I use some pins in P3 as input pin and other pins in P3 as output pin. Use C program to read or write the pin directly, e.g. P35 = 0; if(P32 == 0) etc. But if I read a pin, all pins in P3 will become to 1. I debug the program in simulation not in physical MCU.

0