Fix pin numbers
authorRalf Jung <post@ralfj.de>
Thu, 3 Oct 2013 16:28:26 +0000 (18:28 +0200)
committerRalf Jung <post@ralfj.de>
Thu, 3 Oct 2013 16:28:26 +0000 (18:28 +0200)
pins.py

diff --git a/pins.py b/pins.py
index 8b699be529ef3db077af6f51da04856c8a0932c8..30f9666c253d3f81272360c27965d2cb7175bdef 100644 (file)
--- a/pins.py
+++ b/pins.py
@@ -44,8 +44,8 @@ class PinsWatcher():
                self.pins = {
                        'bell_ringing': PinWatcher(18, 2),
                        'door_closed': PinWatcher(8, 5),
-                       'door_locked': PinWatcher(9, 5),
-                       'space_active': PinWatcher(10, 5),
+                       'door_locked': PinWatcher(10, 5),
+                       'space_active': PinWatcher(24, 5),
                }
                self._sm = state_machine