04-24-2023 09:56 AM
@GerdW wrote:
Hi spalinowy,
@spalinowy wrote:
In my case, the reason was the lack of time for a response from the device. I added the appropriate waiting length and the problem was over.
The "lack of time" most often is not the reason, but the bad/missing implement of the communication protocol!
This excellent video explains how to solve serial communication correctly…
I agree. 99.9% of the time if you need to put a hardcoded wait in your communications to make it work, it indicates an incomplete understanding of the communications protocol.