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

armsistem

Hi, I'm sorry , My English is very bad ; I working UART0 send a receive (LPC2104) but receive I don't want to work. below code

int getchar (void) /* Read character from Serial Port */
  {while (!(U0LSR & 0x01));
     return (U0RBR);
  }

I wants to do ; pc send (hyperterminal or docklight) 'LED1 ON' or 'LED1 OFF' if(U0RBR=='LED1 ON') {event} else if(U0RBR=='LED1 OFF') {event} not work

help me , thanks

Parents
  • That's a bit hard on someone who may otherwise be a fine programmer but just has difficulty with English as a foreign language.

    How many native English speaking programmers could meet that criterion in any other language...?

    Anyhow, one of the key criteria in selecting parts to use must be the availability of usable documentation.

Reply
  • That's a bit hard on someone who may otherwise be a fine programmer but just has difficulty with English as a foreign language.

    How many native English speaking programmers could meet that criterion in any other language...?

    Anyhow, one of the key criteria in selecting parts to use must be the availability of usable documentation.

Children
No data