display initial code
This commit is contained in:
parent
f218f2ed1f
commit
5e019fef20
|
@ -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
|
|
@ -0,0 +1,3 @@
|
||||||
|
class Display:
|
||||||
|
def __init__(self) -> None:
|
||||||
|
pass
|
|
@ -0,0 +1,7 @@
|
||||||
|
class espmega_mqtt:
|
||||||
|
def __init__(self) -> None:
|
||||||
|
pass
|
||||||
|
def write_pwm():
|
||||||
|
pass
|
||||||
|
def read_digital():
|
||||||
|
pass
|
|
@ -1,4 +1,6 @@
|
||||||
pyserial
|
pyserial
|
||||||
line_notify
|
line_notify
|
||||||
opencv-python
|
opencv-python
|
||||||
requests
|
requests
|
||||||
|
mysql-connector-python
|
||||||
|
paho-mqtt
|
Loading…
Reference in New Issue