Hi there, thank you for your interesting project. However, I have an issue with the Mobus RTU library.
Specifically, when I use your original library, the slave device sends incorrect transmission frames to the master. It adds an extra 0xFF character in front of each transmission frame to the master.
I don't understand why this is happening, but when I add a delay function to your Modbus.c library, it works.
However, it is still unstable. When I add some code to other tasks (not the Modbus task) in the program, it seems to be causing errors!
Hi there, thank you for your interesting project. However, I have an issue with the Mobus RTU library.
Specifically, when I use your original library, the slave device sends incorrect transmission frames to the master. It adds an extra 0xFF character in front of each transmission frame to the master. I don't understand why this is happening, but when I add a delay function to your Modbus.c library, it works. However, it is still unstable. When I add some code to other tasks (not the Modbus task) in the program, it seems to be causing errors!