Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
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
aimme_zeng
2016-08-23
0
1
No more~