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

Can I use LAN8720 ? #222

Closed denruss closed 2 years ago

denruss commented 2 years ago

How can I use modbus TCP via LAN8720 & ESP32?

emelianov commented 2 years ago

Code exactly the same as WiFi. You just need to replace WiFi initialisation with LAN8720 one.

denruss commented 2 years ago

thanx, it works