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
  • I posted "do not responde because I find your cussing offensive. THIS IS A FORUM, NOT A FRIGGIN' CELLPHONE"

    you resopond
    hmm, could u response to my question

    Maybe you should look for another career, programming requires the ability to read.

    Erik

  • We are on FORUMS about KEIL Software , If U know the answer or would like to discuess the problem then reply to me , who told u i need a teacher in english ????

  • We are on FORUMS about KEIL Software , If U know the answer or would like to discuess the problem then reply to me , who told u i need a teacher in english ????

    I know the answer, and have known it since the beginning of this thread, but if you rhink I will help someone with your attitude, forget it!

    I have tried and tried to get you to ask in a form that would make me want to answer, but now I give up.

    Since you can not solve your attitude problem, I doubt you can solve your code problem, but I do wish you good luck figuring it out on your own.

    Erik