nanoMODBUS/examples/arduino
2022-07-22 18:46:37 +02:00
..
client-rtu Fixes to arduino examples 2022-06-04 14:16:43 +02:00
server-rtu Fixes to arduino examples 2022-06-04 14:16:43 +02:00
compile-examples.sh Compile Arduino examples in CI 2022-07-22 18:46:37 +02:00
README.md Compile Arduino examples in CI 2022-07-22 18:46:37 +02:00

Arduino examples

This folder contains nanoMODBUS examples for Arduino.
To build and load a sketch with the Arduino IDE, copy nanomodbus.c and nanomodbus.h inside its folder.

client-rtu and server-rtu are meant to be used with two Arduinos connected via their TX0/RX0 serial pins.

If you have arduino-cli installed, you can run examples/arduino/compile-examples.sh from the top-level nanoMODBUS directory to compile the examples. They will be available in the build folder.