예제 #1
0
def main():
  try:
    while True: 
      showBatteryStatus()
      time.sleep(30)
  except KeyboardInterrupt:
    blink.off() 
예제 #2
0
def main():
  try:
    while True:
      showTreeStatus()
      time.sleep(60)
  except KeyboardInterrupt:
    blink.off()