From 1d5e14746e43894de4e45cee55e04c2111b869b0 Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 22 Nov 2024 08:47:36 +0100 Subject: [PATCH] update --- bjoerntest10.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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