A simple and robust serial communication protocol. It was designed for Arduino but can be used for other purposes (e.g. bluetooth, sockets). This is the Python implementation.
It supports both Python 2 and 3.
Implementations are available in various programming languages:
Using pip:
From Source:
Run the tests (require pytest):
Read write in a file (WARNING: the file will b…