| ??? 03/31/03 01:28 Read: times |
#42585 - RE: Using P2 and external RAM - Pranav Responding to: ???'s previous message |
* Port 2 pins are strongly pulled up internally when you write a 1 to them. Normally - but suggest refer the data sheet of the derivative in use. * To read an input in the port pin, have the input Active low. Means when the DIP switch is "Activated or pressed " it connects the port pin to ground. And if your code contains a branch based on the JNB P2.x, YYY, then the program will jump to YYY when that DIP switch is activated. The above should help you to figure out how to connect your DIPswitch. Raghu |



