Commit f7eb3565 authored by Agrigor's avatar Agrigor

minor changes

parent 8bfb48cb
......@@ -65,9 +65,7 @@ class Buzzer:
observer.notify(self)
def create_event(self):
GPIO.add_event_detect(self.pin, GPIO.RISING,
callback=self.notify_observer,
bouncetime=self.bounce)
GPIO.add_event_detect(self.pin, GPIO.RISING, callback=self.notify_observer, bouncetime=self.bounce)
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment