stm32-fmt-code/access_control_python/test.py

5 lines
135 B
Python
Raw Normal View History

2023-11-13 12:12:30 +00:00
2023-11-17 13:46:16 +00:00
from espmega.espmega_r3 import ESPMega_standalone as ESPMega
plc = ESPMega("/facescan","192.168.0.239",1883)
2023-11-13 12:12:30 +00:00
2023-11-17 13:46:16 +00:00
plc.digital_write(2,0)``