diff --git a/bjoerntest10.py b/bjoerntest10.py index 9beeb0f..b54e5a9 100644 --- a/bjoerntest10.py +++ b/bjoerntest10.py @@ -54,7 +54,7 @@ cursor = conn.cursor() # Configuration of the serial port try: - ser = serial.Serial('/dev/serial/by-id/usb-Silicon_Labs_CP2102_USB_to_UART_Bridge_Controller_0001-if00-port0', 9600) + ser = serial.Serial('/dev/serial/by-path/pci-0000:00:14.0-usbv2-0:3:1.0-port0', 9600) print("Serial port connected successfully.") except serial.SerialException: ser = None