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