Here is what I do: start three terminals, then
in one start a python script that access the USB serial,
in two start a python script that access the same USB serial
in three, run the command to check serial:I have to be quick on three before one or two crashes.
You may be better off rebooting the pi, then check if any programs accessing the serial port (using above command.
Let me know what happens
in one start a python script that access the USB serial,
in two start a python script that access the same USB serial
in three, run the command to check serial:
Code:
sudo ls -l /proc/[0-9]*/fd/* |grep /dev/ttyACM0
You may be better off rebooting the pi, then check if any programs accessing the serial port (using above command.
Let me know what happens
Statistics: Posted by neilgl — Fri May 03, 2024 10:13 am