{"repo":"araffin/cpp-arduino-serial","free":true,"listed":false,"github":"https://github.com/araffin/cpp-arduino-serial","clone":"git clone https://github.com/araffin/cpp-arduino-serial.git","description":"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 C++ implementation.","language":"C++","stars":18,"topics":["cpp","raspberry-pi","arduino","serial","communication","protocol","bluetooth","sockets"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Robust Arduino Serial Protocol in C++ Robust Arduino Serial is a simple and robust serial communication protocol. It was designed to make two Arduinos communicate, but can also be useful when you want a computer (e.g. a Raspberry Pi) to communicate with an Arduino. This repository is part of the Robust Arduino Serial project, main repository: https://github.com/araffin/arduino-robust-serial Please read the Medium Article to have an overview of this protocol. Implementations are available in various programming languages: - Arduino - Python - C++ - Rust Dependency Dependency (libserial): Examples To build the two examples, run the build.sh inside the examples/ directory, the binaries will be located in the bin/ folder. Read write in a file If you want to use command parser and serial reader with a real Arduino, you need to flash it with this code: Arduino Source Code Run the command parser to send order to the Arduino (optional: you can run it using rlwrap): Idem for listening to the serial port (for now during 30 seconds, it can be changed in the serial reader.h)","default_branch":null,"files":null,"tree":[],"storefront":"/r/araffin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/araffin/cpp-arduino-serial/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}