mcci-catena / Modbus-for-Arduino

Modbus library for Arduino
GNU Lesser General Public License v2.1
6 stars 6 forks source link

Change simple_host example to detect errors #12

Closed terrillmoore closed 6 years ago

terrillmoore commented 6 years ago

The simple_host example is utterly without guile; if the device doesn't respond, it just prints the register array. Change it to print the error if host.query() fails.