Merge pull request #192 from waveform80/pigpiod

Fix #180 - Add support for pigpio
This commit is contained in:
Dave Jones
2016-02-12 20:15:25 +00:00
7 changed files with 312 additions and 13 deletions

View File

@@ -38,8 +38,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()