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