Closed parthkalgaonkar closed 1 month ago
I have not experienced an issue with this. Below is a screenshot of the timings I usually get.
Can you give me more information on your setup: devices used, baud rate, and anything else that may be relevant? Thanks,
Here's my setup
My impression is that the problem is on the Raspberry Pi Zero side. It sounds like it doesn't have very tight timing control of the DE pin of the RS-485 transceiver.
Yes that is accurate. RTS pin toggle has to be done via ioctl calls from user space. This adds a ton of latency
Sorry for the delayed response. I am okay with the feature add, but I do want a few changes before merging.
_respDelay
to _responseDelay
._responseDelay
type to unsigned long
. (Timing values are always unsigned long
.)configureRespDelay
to setResponseDelay
._responseDelay
to 0
in its declaration in the header (.h) file, rather than in each of the constructors.I would also like an updated README with a section describing the setResponseDelay
function.