create virtual comports and send data through them and display the data in the terminal
- Language - Python
- Tool used for creating virtual comports - socat (unix)
- Library for serial communication - pyserial
- Run this command in the terminal
socat -d -d pty,raw,echo=0 pty,raw,echo=0
- Open a new terminal window and navigate the directory where the scripts are located and run this command
python3 sender.py
- Open a new terminal window and navigate the directory where the scripts are located and run this command
python3 receiver.py