Home > other >  Use c language to achieve the double serial full-duplex communication
Use c language to achieve the double serial full-duplex communication

Time:10-07

Tester developed by the general science and technology in the single chip microcomputer ATS89C51 builds dual single chip computer serial communication provided by the hardware circuit and programming, to achieve double machine serial full-duplex communication: press the corresponding button, and on the other side of the LCD1602 display the corresponding number key,


Pray god to help guide, remember is to use c language

CodePudding user response:

1: if the MCU is in the same system (the same PCB), directly through uart interrupt way to send and receive data, hardware structures and software are simple
2: if a different system, a little distance, use the CAN communication is the most ideal
3: correct the display, not in each other on the LCD display, LCD display party after receiving data,

CodePudding user response:

Build yourself, others can't help you,
Not, hardware, can't write code, according to the hardware debugging code is the key around,
You say!

CodePudding user response:

reference 1st floor zhouml_msn response:
1: if the two MCU is within the same system (the same PCB), directly through uart interrupt way to send and receive data, hardware structures and software are simple
2: if a different system, a little distance, use the CAN communication is the most ideal
3: correct the display, not in each other on the LCD display, LCD display is party after receiving data, according to

Uh-huh, good da, thank you, we do a what also won't
  • Related