emelianov / modbus-esp8266

Most complete Modbus library for Arduino. A library that allows your Arduino board to communicate via Modbus protocol, acting as a master, slave or both. Supports network transport (Modbus TCP) and Serial line/RS-485 (Modbus RTU). Supports Modbus TCP Security for ESP8266/ESP32.
Other
534 stars 188 forks source link

ESP32-Concurent.ino example of how to implement a write in a register? #252

Closed franciscogimeno2000 closed 2 years ago

franciscogimeno2000 commented 2 years ago

Hello friends, in the example "ESP32-Concurrent.ino" it describes how to read I have searched but I can't find an example of how to implement a write in a register in concurrent mode. Do you know where I can find something?

Greetings and thank you. Great job Emilianov and group. Fran

emelianov commented 2 years ago

Write is pretty much the same as read. Just replace readHreg() with writeHreg().

franciscogimeno2000 commented 2 years ago

ok , thanks