A library that allows your Arduino to communicate via Modbus protocol, acting as a slave (master in development). Supports serial (RS-232, RS-485) and IP via Ethernet (Modbus IP).
We can't create most of 10 register without overflow with atmega16A (1024 octets of memory). so I remove the 2 CRC tables and set afunction to calculate CRC and that run.
We can't create most of 10 register without overflow with atmega16A (1024 octets of memory). so I remove the 2 CRC tables and set afunction to calculate CRC and that run.
The second commit is for using modRS485 of olimex (https://www.olimex.com/Products/Modules/Interface/MOD-RS485/open-source-hardware)