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
  • Shen, I'm so sorry, when Ahmed hijacked the thread I did not realize that he was not the original poster.
    Please understand that all the discussion on language (you - not u etc) in no way was directed at you.
    Now that you chime in again I realize that there was a decent person asking originally. Again, my apology to you.

    Shen, DO come back when you have a question "poor english" is not a problem "lazy english" is.

    Erik

Reply
  • Shen, I'm so sorry, when Ahmed hijacked the thread I did not realize that he was not the original poster.
    Please understand that all the discussion on language (you - not u etc) in no way was directed at you.
    Now that you chime in again I realize that there was a decent person asking originally. Again, my apology to you.

    Shen, DO come back when you have a question "poor english" is not a problem "lazy english" is.

    Erik

Children