race conditions?
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
# it will then play the audio back to the user from memory
|
||||
|
||||
import RPi.GPIO as GPIO
|
||||
import time
|
||||
|
||||
# importing sys
|
||||
import sys
|
||||
@@ -26,3 +27,5 @@ while True:
|
||||
else:
|
||||
if not audioInstance.isRecording():
|
||||
audioInstance.startRecord()
|
||||
|
||||
time.sleep(1)
|
||||
|
||||
Reference in New Issue
Block a user