예제 #1
0
 def lightTagHandler(v, t, a):
     if v:
         flash.on()
     else:
         try:
             flash.off()
         except Exception as e:
             print(e)
         flash.release()
예제 #2
0
파일: main.py 프로젝트: susmit/plyer
 def release(self):
     flash.release()