From 6fa86f0b2dd230e866f2a5c5d2f724caa91f8d0f Mon Sep 17 00:00:00 2001 From: Edvin Date: Mon, 12 May 2025 12:51:36 +0200 Subject: Changed nano serial port --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 065b4c5..3f5f5c3 100755 --- a/main.py +++ b/main.py @@ -70,7 +70,7 @@ DWMProcess = subprocess.Popen(["/home/pi/filterpy/bin/python", "-u", "/home/pi/T print(f"DWM PID: {DWMProcess.pid}") # Open serial port to Arduino Nano -NANO = serial.Serial('/dev/ttyUSB1', 115200, timeout=30) +NANO = serial.Serial('/dev/ttyACM0', 115200, timeout=30) sleep(2) BluetoothProcess = subprocess.Popen(["python", "-u", "/home/pi/TNE107-RPI/bt.py"], stdout=subprocess.PIPE, stderr=open(os.devnull, 'wb'), text=True) -- cgit v1.2.3