diff --git a/push_to_record_and_play.py b/push_to_record_and_play.py index 12c9c34..3c088cc 100644 --- a/push_to_record_and_play.py +++ b/push_to_record_and_play.py @@ -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)