Formatting release
authorPi user <pi@njae.me.uk>
Thu, 24 Oct 2013 14:42:45 +0000 (15:42 +0100)
committerPi user <pi@njae.me.uk>
Thu, 24 Oct 2013 14:42:45 +0000 (15:42 +0100)
keyboard.py

index 237d7c668b98533ffdf02ad1cc91b15be018a5b0..5f38e90fba149918148df29e0ecfb82b6ea3c00f 100644 (file)
@@ -30,7 +30,8 @@ def handle_sound(pin):
 
 for pin in pins:
     gpio.setup(pin, gpio.IN)
-    gpio.add_event_detect(pin, gpio.BOTH, callback=handle_sound, bouncetime=50)
+    gpio.add_event_detect(pin, gpio.BOTH, callback=handle_sound, 
+                          bouncetime=50)
 
 while True:
     pass