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

Read P1 or Pins?

look at following code, i have no idea about what does "KEY_RESET" in the "if" statement read from, "P1" or "Pin of P1" ?("Parallel Port 1" window display in the simulator)

sbit KEY_RESET = P1^5;

if(KEY_RESET == 1) {
...


in C51 v8.0

thanks in advance
sorry for my poor english... ;)

Parents Reply Children