From 94680c30a686a6c30ee61a468c17423395a670a0 Mon Sep 17 00:00:00 2001 From: talksik Date: Thu, 27 Apr 2023 14:37:38 -0700 Subject: [PATCH] clean output --- push_to_record_and_play.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/push_to_record_and_play.py b/push_to_record_and_play.py index 31d8240..8ff57df 100644 --- a/push_to_record_and_play.py +++ b/push_to_record_and_play.py @@ -21,10 +21,8 @@ while True: state = GPIO.input(BUTTON) if state: - print("button: OFF") if audioInstance.isRecording(): audioInstance.stopRecord(play=False) else: - print("button: ON") if not audioInstance.isRecording(): audioInstance.startRecord()