From 5558a04a918d6ebc80d027392a77da3f5da89c6c Mon Sep 17 00:00:00 2001 From: Yossi Date: Tue, 21 Nov 2017 16:21:03 +0200 Subject: [PATCH] updaet welcome light on Dride-Zero --- mainPi.py | 2 +- mainPiZero.py | 6 +++--- modules/indicators | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mainPi.py b/mainPi.py index 4cebf58..8412e45 100644 --- a/mainPi.py +++ b/mainPi.py @@ -25,7 +25,7 @@ def run_program(): soundObj.play_sound('hello', False) # welcome light indicator = Indicators() - indicator.wakeWord() + indicator.talking() diff --git a/mainPiZero.py b/mainPiZero.py index 7d6d8d6..9d20217 100644 --- a/mainPiZero.py +++ b/mainPiZero.py @@ -12,8 +12,6 @@ def run_program(): camera = picamera.PiCamera() camera.resolution = (1280, 720) - indicators = Indicators() - # allow the camera to warm up time.sleep(2.0) @@ -21,7 +19,9 @@ def get_file_name(): return str(int(round(time.time()))) parent = PARENT_DIR + '/modules/video/' - indicators.talking() + # welcome light + indicator = Indicators() + indicator.talking() # run cardigan processes try: diff --git a/modules/indicators b/modules/indicators index ce2c347..cc023ab 160000 --- a/modules/indicators +++ b/modules/indicators @@ -1 +1 @@ -Subproject commit ce2c347a467c34d81f90f86f9a71c2f3ed3d63ee +Subproject commit cc023abdf322d641a88c99604dd65176a8faf2c2