The check for only `COM` ports (line 600) prevents the script from working on linux where the right port is usually `/dev/ttyACM0` or similar.
The check for only
COMports (line 600) prevents the script from working on linux where the right port is usually/dev/ttyACM0or similar.