From 9f496af8fbf3f1147b3d45160b514ef34f983c98 Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Fri, 24 Nov 2023 14:36:19 +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 2ef4c96..c2c5f48 100644 --- a/access_control_python/main.py +++ b/access_control_python/main.py @@ -8,7 +8,7 @@ from database import Database, Student, Parent from display import Display from stm32 import stm32_distance -SERIAL_PORT_DISPLAY = "COM11" +SERIAL_PORT_DISPLAY = "/dev/serial0" CAMERA_INDEX = 0 display = Display(SERIAL_PORT_DISPLAY)