AT89C51 realize the communication between two comp
no vote
Application background & nbsp; serial communication function: simple serial terminal commands, each received a character information is returned. The T1 4800bps@12.0Mhz as a baud rate generator./ / header file/ / LED port definition/ / through the serial port to send stringWhen the serial port is not full FIFO / non blocking send, or blocking Key Technology Main void (void){ CMD uint8_t; UART_Init (); EA = 1; SendString ("Welcome\n"); while (1) { / / serial data processing when received if (UART_IsReceived ()) { / / get a command CMD = UART_GetByte (); switch (CMD) { case '?': / / help &n