mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Merge pull request #192 from waveform80/pigpiod
Fix #180 - Add support for pigpio
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user