Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 770 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 770 Bytes

virtualcom

create virtual comports and send data through them and display the data in the terminal

Specs

  • Language - Python
  • Tool used for creating virtual comports - socat (unix)
  • Library for serial communication - pyserial

Steps to run

  1. Run this command in the terminal
socat -d -d pty,raw,echo=0 pty,raw,echo=0
  1. Open a new terminal window and navigate the directory where the scripts are located and run this command
python3 sender.py
  1. Open a new terminal window and navigate the directory where the scripts are located and run this command
python3 receiver.py

Code and Terminal Screenshots virtualcom