瀏覽代碼

door chanegs

master
Andreas Demmelbauer 5 年之前
父節點
當前提交
a8771e4ec7
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      discobert.py

+ 3
- 1
discobert.py 查看文件

@@ -292,7 +292,9 @@ def setOnOff():

def doorShutdown():
tts.say(random.choice(bye_sayings), "en")
closeService(4) # sleep to give pir sensor some time
# sleep to give user some time to close the door
# (pir sensor also stays up for 2 sec)
closeService(5)

def bootstrap():
wiringpi.wiringPiSetup()


Loading…
取消
儲存