I have a pd patch running on a raspberry pi which uses [comport] to send messages to a teensy which displays an interface on a screen. This is all working well.
However, after a variable amount of time I always eventually get a comport error: "[comport]: Write failed for -1 bytes, error is 11". After this, every message produces this error and I need to unplug and plug the teensy back in to get things working again.
I've searched around and have seen some posts elsewhere with the same issue but no solutions. I don't think the patch is particularly taxing - the CPU is running at about 20% and the RAM about 25%.
If anyone has any suggestions or insight into the issue I'd be very grateful. Thanks.