Professional Documents
Culture Documents
https://tinkering.xyz/async-serial/
socat creates two virtual serial ports in /dev/ that are connected to one another.
link=<path> creates a symlink at <path> to the device in /dev/
Two symlinks located at ./reader and ./writer
Options of socat
http://www.dest-unreach.org/socat/doc/socat.html
Create a Serial object by telling it which device to connect to and how the connection should be
configured. Once you have the Serial object you can send or receive bytes from the serial port via
the Serial.write and Serial.read methods respectively. To create a class you can just pass the Serial
object into the constructor.