コード例 #1
0
ファイル: battery.py プロジェクト: MatrixFrog/blink-scripts
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()