You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modbus RTU protocol (function codes `0x03` and `0x06`). This library is a slave implementation of the Modbus RTU protocol.
1
+
# ModbusRTUSlave Arduino Library
2
+
3
+
A simple and flexible Modbus RTU slave library for Arduino.
4
+
5
+
## Overview
6
+
7
+
The `ModbusRTUSlave` library allows Arduino devices to function as Modbus RTU slaves over a serial connection. It supports reading and writing registers via Modbus function codes `0x03` (Read Holding Registers) and `0x06` (Write Single Register), with provisions for LED control based on a designated register value. The library is designed to be customizable, with configurable slave address, LED pin, LED register index, and baud rate.
8
+
9
+
### Features
10
+
- Supports Modbus RTU protocol (function codes `0x03` and `0x06`).
11
+
- Configurable slave address, LED pin, and LED register index.
12
+
- Flexible baud rate setting via a variable.
13
+
- LED control tied to a specific register value (turns ON when the register equals 1).
14
+
- Lightweight and easy to integrate into Arduino projects.
sentence=Modbus RTU protocol (function codes `0x03` and `0x06`). This library is a slave implementation of the Modbus RTU protocol.
6
+
paragraph=The `ModbusRTUSlave` library allows Arduino devices to function as Modbus RTU slaves over a serial connection. It supports reading and writing registers via Modbus function codes `0x03` (Read Holding Registers) and `0x06` (Write Single Register), with provisions for LED control based on a designated register value. The library is designed to be customizable, with configurable slave address, LED pin, LED register index, and baud rate.
0 commit comments