SerialMonitor icon indicating copy to clipboard operation
SerialMonitor copied to clipboard

fixed serial device name for Linux

Open leoyinjou opened this issue 3 years ago • 1 comments

Issue: in Linux, p.name returns 'ttyACM0' for '/dev/ttyACM0' for example so p.open() will fail and exception will be triggered without useful debug messages.

Fix: using p.device will display the full name for both Windows COM* ports and Linux /dev/tty* ports. Verified functional on both. Not tested on Mac.

leoyinjou avatar Aug 14 '22 12:08 leoyinjou

Was just looking for a solution to this very problem

c3charvat avatar Oct 22 '22 01:10 c3charvat