grblHAL / Plugins_spindle

grblHAL plugins for spindle control
Other
8 stars 12 forks source link

Commit change to resolve RX echoes during modbus transmit. #1

Closed andrewmarles closed 3 years ago

andrewmarles commented 3 years ago

As noted in the comments, I was getting extraneous RX messages in the buffer during TX that was causing the plugin to report RPM incorrectly and generally have issues controlling the VFD. Flushing the buffer immediately after TX was complete appeared to resolve this and the VFD control is quite a bit more reliable now.