mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Fix #459 - properly support remote SPI with pigpio
Sorry! Dave's messing around with the pin implementations again. Hopefully the last time. The pin_factory is now really a factory object which can be asked to produce individual pins or pin-based interfaces like SPI (which can be supported properly via pigpio).
This commit is contained in:
12
setup.py
12
setup.py
@@ -68,12 +68,12 @@ if sys.version_info[:2] == (3, 2):
|
||||
|
||||
__entry_points__ = {
|
||||
'gpiozero_pin_factories': [
|
||||
'PiGPIOPin = gpiozero.pins.pigpiod:PiGPIOPin',
|
||||
'RPiGPIOPin = gpiozero.pins.rpigpio:RPiGPIOPin',
|
||||
'RPIOPin = gpiozero.pins.rpio:RPIOPin',
|
||||
'NativePin = gpiozero.pins.native:NativePin',
|
||||
'MockPin = gpiozero.pins.mock:MockPin',
|
||||
'MockPWMPin = gpiozero.pins.mock:MockPWMPin',
|
||||
'pigpio = gpiozero.pins.pigpiod:PiGPIOFactory',
|
||||
'rpigpio = gpiozero.pins.rpigpio:RPiGPIOFactory',
|
||||
'rpio = gpiozero.pins.rpio:RPIOFactory',
|
||||
'native = gpiozero.pins.native:NativeFactory',
|
||||
'mock = gpiozero.pins.mock:MockFactory',
|
||||
'mockpwm = gpiozero.pins.mock:MockPWMFactory',
|
||||
],
|
||||
'console_scripts': [
|
||||
'pinout = gpiozero.cli.pinout:main',
|
||||
|
||||
Reference in New Issue
Block a user