Introduction - If you have any usage issues, please Google them yourself
Design of Serial Communication between Two Single Chip Microcomputer Systems
(1) Party A's P1 port is connected with 8 LED lights;
(2) Party B outputs data to Party A through serial communication, and Party A realizes the pipeline lamp display in eight LED lamps according to the received data.
(3) Serial port mode 1 and interrupt mode are needed to transmit and receive data.