Merge branch 'feat/vision' of https://git.cps.unileoben.ac.at/ClemensFritze/GeislingerProject into feat/vision
This commit is contained in:
commit
28ae39347e
@ -54,7 +54,7 @@ cursor = conn.cursor()
|
|||||||
|
|
||||||
# Configuration of the serial port
|
# Configuration of the serial port
|
||||||
try:
|
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.")
|
print("Serial port connected successfully.")
|
||||||
except serial.SerialException:
|
except serial.SerialException:
|
||||||
ser = None
|
ser = None
|
||||||
|
Loading…
Reference in New Issue
Block a user