Fix #180 - Add support for pigpio

This commit is contained in:
Dave Jones
2016-02-08 23:36:44 +00:00
parent d8e1503b80
commit aebe42875d
7 changed files with 312 additions and 13 deletions

View File

@@ -33,8 +33,12 @@ except ImportError:
from .pins.rpio import RPIOPin
DefaultPin = RPIOPin
except ImportError:
from .pins.native import NativePin
DefaultPin = NativePin
try:
from .pins.pigipod import PiGPIOPin
DefaultPin = PiGPIOPin
except ImportError:
from .pins.native import NativePin
DefaultPin = NativePin
_THREADS = set()