I have a 9600 baud display and when I write 13 bytes to it using (uart-write), the motor makes a ticking sound and does not run smoothly, especially at low speed. The script does not attempt to control the motor in any way, just doing the write causes the problem. I suspect that the write operation is blocking and since it takes about 13ms it causes the motor to stutter.
I have a 9600 baud display and when I write 13 bytes to it using (uart-write), the motor makes a ticking sound and does not run smoothly, especially at low speed. The script does not attempt to control the motor in any way, just doing the write causes the problem. I suspect that the write operation is blocking and since it takes about 13ms it causes the motor to stutter.