A place users can post their projects. If you have a small project and would like your own dedicated place to post and have others chat about it then this is your spot.

User avatar
By criticalmass
#63188 That file is actually just from https://github.com/smarmengol/Modbus-Ma ... or-Arduino
and hasn't been ported at all. Those compile errors reference AVR interrupts.

I believe I have this library working on ESP8266. Although, my edits are quite sloppy.

AFAIK, esp8266 has no transmission complete interrupt. Closest it has is TX FIFO empty. So, easiest to settle for serial.flush() plus a delay.

anouar wrote:hello
i need help for modbus TCP/IP-RTU RS232/RS485 when i using ESP8266 beacause i have downloading the code in this link:
https://github.com/JhonControl/Arduino_ ... aveTCP-RTU

but he didn't function RTU except modbus TCP/IP i don't know why ?
when i try use (simple_slave.ino) he give me this error
Arduino:1.6.12 (Windows 10), Scheda:"Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck, Disabled, None"