andresarmento / modbus-arduino

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).
BSD 3-Clause "New" or "Revised" License
453 stars 267 forks source link

Calculate CRC and modRS485 #23

Open oryxr opened 7 years ago

oryxr commented 7 years ago

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)

oryxr commented 7 years ago

thanks to seydamir pull request