SimpleModbusSlave allows you to communicate to any slave using the Modbus RTU protocol. The crc calculation is based on https://os.mbed.com/users/jpelletier/code/CRC/ The functions implemented are functions 3 and 16. read holding registers and preset multiple registers of the Modbus RTU Protocol. This implementation DOES NOT fully comply with the Modbus specifications.

Auto generated API documentation and code listings for SimpleModbusSlave

Code

lib_crc.cpp [code]
lib_crc.h [code]
SimpleModbusSlave.cpp [code]
SimpleModbusSlave.h [code]