Dear All, I've tried to read the pin of Port1 , but i failed . I should write one to it right ? , how do i read a one again ? If i tried to write the following code,it works without checking the status of the pin Port1_3=1; if(Port1_3==1) { // execute code here .. // code here executes in the simulator //without checking if the pin is //high or not } thanks in advance
What is the definition of "Port1_3" Port 1 is P1 Port 1 bit 3 is P1^3