stm32-fmt-code/access_control_python/test.py

5 lines
135 B
Python

from espmega.espmega_r3 import ESPMega_standalone as ESPMega
plc = ESPMega("/facescan","192.168.0.239",1883)
plc.digital_write(2,0)``