So right now, when [comport] is open and that device gets
disconnected, comport freezes and Pd crashes. My guess is that
comport is waiting and therefore blocking. It seems like the select()
call should prevent that, any other guesses on how to prevent comport
from locking like this? Many arduino users would be very happy.
.hc
Programs should be written for people to read, and only incidentally
for machines to execute.