Skip to content

Commit

Permalink
try this
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Oct 5, 2023
1 parent 3323eb9 commit 2f5c1fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pioreactor/background_jobs/stirring.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ class RpmCalculator:
"""


def __init__(self) -> None:
pass

Expand All @@ -66,8 +65,9 @@ def setup(self) -> None:
set_gpio_availability(hardware.HALL_SENSOR_PIN, False)
from gpiozero import DigitalInputDevice

self.hall_sensor_input_device = DigitalInputDevice(hardware.HALL_SENSOR_PIN, pull_up=True, bounce_time=15)

self.hall_sensor_input_device = DigitalInputDevice(
hardware.HALL_SENSOR_PIN, pull_up=True, bounce_time=15
)

def turn_off_collection(self) -> None:
self.collecting = False
Expand Down

0 comments on commit 2f5c1fb

Please sign in to comment.