You've already forked STARK
mirror of
https://github.com/MarkParker5/STARK.git
synced 2025-11-28 21:39:53 +02:00
add prints for console
This commit is contained in:
@@ -32,7 +32,7 @@ if config.double_clap_activation:
|
||||
time.sleep(1)
|
||||
else:
|
||||
doubleClap = False
|
||||
|
||||
|
||||
import RPi.GPIO as GPIO
|
||||
import time
|
||||
lastClapTime = 0
|
||||
@@ -57,6 +57,7 @@ def check_threads():
|
||||
thread['finish_event'].clear()
|
||||
del thread
|
||||
|
||||
os.system('clear')
|
||||
while True: # main loop
|
||||
check_threads()
|
||||
print('\nYou: ', end='')
|
||||
@@ -99,4 +100,6 @@ while True: # main loop
|
||||
elif speech['status'] == 'void': voids += 1;
|
||||
if voids >= 3:
|
||||
voids = 0
|
||||
if config.double_clap_activation: sleep()
|
||||
if config.double_clap_activation:
|
||||
print('Sleep (-_-)zzZZ')
|
||||
sleep()
|
||||
|
||||
Reference in New Issue
Block a user