from access_control import access_control
import time
stm32 = access_control("COM7")
while True:
stm32.light_on()
time.sleep(1)
stm32.light_off()