display initial code

This commit is contained in:
Siwat Sirichai 2023-11-06 13:53:10 +07:00
parent f218f2ed1f
commit 5e019fef20
4 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,23 @@
import paho.mqtt.client as mqtt
BASE_TOPIC = "/facescan"
class access_control:
def __init__(self, serial_port: str):
pass
def light_on(self):
pass
def light_off(self):
pass
def get_door_state(self) -> bool:
pass
def get_scan_state(self) -> bool:
pass
def lock_door(self):
pass
def unlock_door(self):
pass

View File

@ -0,0 +1,3 @@
class Display:
def __init__(self) -> None:
pass

View File

@ -0,0 +1,7 @@
class espmega_mqtt:
def __init__(self) -> None:
pass
def write_pwm():
pass
def read_digital():
pass

View File

@ -2,3 +2,5 @@ pyserial
line_notify
opencv-python
requests
mysql-connector-python
paho-mqtt