From d749216c84f77aaadca31cfb3c1b2880d8b84162 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Fri, 24 Nov 2023 14:28:34 +0700 Subject: [PATCH] Update main.py --- access_control_python/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/access_control_python/main.py b/access_control_python/main.py index 810eb84..88e899f 100644 --- a/access_control_python/main.py +++ b/access_control_python/main.py @@ -6,7 +6,7 @@ from access_control_mqtt import access_control from database import Database, Student, Parent from display import Display -SERIAL_PORT_DISPLAY = "COM11" +SERIAL_PORT_DISPLAY = "/dev/serial0" CAMERA_INDEX = 0 cam = cv2.VideoCapture(CAMERA_INDEX)