door_lock:门锁模块

时间:2024-05-09 10:35:43
【文件属性】:

文件名称:door_lock:门锁模块

文件大小:2KB

文件格式:ZIP

更新时间:2024-05-09 10:35:43

Python

门锁模块 用法 克隆代码: git clone https://github.com/tientrien2505/door_lock.git config .env文件: BOLT_PIN = 15#销钉连接到锁紧螺栓 DURATION_PRESS_OF_BUTTON = 40#整数反弹时间(以毫秒为单位) LOG_FILE_PATH =。/ log.log#日志文件路径 代码示例: # import module from door_lock import DoorLock # initial door lock system dl = DoorLock () # deactivate button dl . deactivate () # activate button dl . activate () # open door function dl . open_door


【文件预览】:
door_lock-master
----.env(63B)
----README.md(590B)
----door_lock()
--------door_lock.py(2KB)
--------__init__.py(31B)

网友评论