nanoMODBUS/examples/arduino
2024-11-25 13:23:47 +01:00
..
client-rtu New *_create() APIs 2024-07-24 17:48:17 +02:00
server-rtu Fixes to REGS_ADDR_MAX in server examples 2024-11-25 13:23:47 +01:00
compile-examples.sh Updated arduino examples 2023-07-02 16:43:44 +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.