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