brainelectronics / micropython-modbus

MicroPython Modbus RTU Slave/Master and TCP Server/Slave library
GNU General Public License v3.0
104 stars 45 forks source link

Initial Response on Write Single Reg/Coil #49

Closed j-broome closed 1 year ago

j-broome commented 1 year ago

After modifying serial.py lines 58 and 71 (image 1), I am able to setup the Pico as an RTU slave (image 2). When I set a holding register, it looks like the initial response looks funny and that response isn't liked by the master (throws a frame error, but it seems fine after that. Is there something in the code that would cause that? (see image 3) image 1: image image 2: image image 3: image

Originally posted by @j-broome in https://github.com/brainelectronics/micropython-modbus/issues/7#issuecomment-1367631491

j-broome commented 1 year ago

Sorry, this is not current. Updated to version 2.1.3. See issue #50. Please close this issue.