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
Fixed error that skipped every coil which is at a reference multiple of 8 #59
Without this change, the 8th coil, 16th coil and so on don't behave correctly, since they never get included in the for loop. With this simple change the library works as it normally should.
Without this change, the 8th coil, 16th coil and so on don't behave correctly, since they never get included in the for loop. With this simple change the library works as it normally should.