From 794eca622053a8e1561a583f9031a30da360fde9 Mon Sep 17 00:00:00 2001 From: CamDavidsonPilon Date: Fri, 26 Aug 2022 12:28:40 -0400 Subject: [PATCH] small fix --- pioreactor_air_bubbler/additional_config.ini | 3 ++- pioreactor_air_bubbler/air_bubbler.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pioreactor_air_bubbler/additional_config.ini b/pioreactor_air_bubbler/additional_config.ini index b5a9d09..8f15d4c 100644 --- a/pioreactor_air_bubbler/additional_config.ini +++ b/pioreactor_air_bubbler/additional_config.ini @@ -3,7 +3,8 @@ [air_bubbler] -duty_cycle=10 # this should be tuned to produce modest bubbles + # this should be tuned to produce modest bubbles +duty_cycle=10 hertz=200 pre_delay_duration=1.5 post_delay_duration=0.75 diff --git a/pioreactor_air_bubbler/air_bubbler.py b/pioreactor_air_bubbler/air_bubbler.py index c03282a..64c98c1 100644 --- a/pioreactor_air_bubbler/air_bubbler.py +++ b/pioreactor_air_bubbler/air_bubbler.py @@ -43,7 +43,6 @@ def on_disconnected(self): def stop_pumping(self): if hasattr(self, "pwm"): - # if the user unpauses, we want to go back to their previous value, and not the default. self.pwm.change_duty_cycle(0) def start_pumping(self):