implement a general nerv mechanism and also use it for door closing/opening
[saartuer.git] / 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),
                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
                
                }
                self._sm = state_machine