Browse Source

trying to get it work

digital 8 years ago
parent
commit
dd9f30fd5e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      pin/__init__.py

+ 3 - 1
pin/__init__.py

@@ -33,7 +33,7 @@ ERROR_TAKES_ARGUMENTS = "{} takes {} {} argument(s): {}"
 
 _pins_for_cleanup = set()
 
-gpio = GPIOWrapper()
+# gpio = GPIOWrapper()
 
 # respond(ERROR_TAKES_ARGUMENTS.format(
 #         command, "one", "positional", "<name>"))
@@ -387,6 +387,8 @@ class DebugPinController(PinControllerBase):
         [state] = _parse_to_int_list(args[1])
         return _read(pins,state)
 
+gpio = GPIOWrapper()
+
 if __name__ == "__main__":
     pass