mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-12-08 20:39:01 +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:
@@ -59,6 +59,20 @@ Errors
|
||||
|
||||
.. autoexception:: SPIBadArgs
|
||||
|
||||
.. autoexception:: SPIBadChannel
|
||||
|
||||
.. autoexception:: SPIFixedClockMode
|
||||
|
||||
.. autoexception:: SPIInvalidClockMode
|
||||
|
||||
.. autoexception:: SPIFixedBitOrder
|
||||
|
||||
.. autoexception:: SPIFixedSelect
|
||||
|
||||
.. autoexception:: SPIFixedWordSize
|
||||
|
||||
.. autoexception:: SPIInvalidWordSize
|
||||
|
||||
.. autoexception:: GPIODeviceError
|
||||
|
||||
.. autoexception:: GPIODeviceClosed
|
||||
@@ -83,23 +97,31 @@ Errors
|
||||
|
||||
.. autoexception:: PinInvalidEdges
|
||||
|
||||
.. autoexception:: PinInvalidBounce
|
||||
|
||||
.. autoexception:: PinSetInput
|
||||
|
||||
.. autoexception:: PinFixedPull
|
||||
|
||||
.. autoexception:: PinEdgeDetectUnsupported
|
||||
|
||||
.. autoexception:: PinGPIOUnsupported
|
||||
|
||||
.. autoexception:: PinSPIUnsupported
|
||||
|
||||
.. autoexception:: PinPWMError
|
||||
|
||||
.. autoexception:: PinPWMUnsupported
|
||||
|
||||
.. autoexception:: PinPWMFixedValue
|
||||
|
||||
.. autoexception:: PinUnknownPi
|
||||
|
||||
.. autoexception:: PinMultiplePins
|
||||
|
||||
.. autoexception:: PinNoPins
|
||||
|
||||
.. autoexception:: PinUnknownPi
|
||||
.. autoexception:: PinInvalidPin
|
||||
|
||||
Warnings
|
||||
========
|
||||
@@ -110,3 +132,7 @@ Warnings
|
||||
|
||||
.. autoexception:: SPISoftwareFallback
|
||||
|
||||
.. autoexception:: PinFactoryFallback
|
||||
|
||||
.. autoexception:: PinNonPhysical
|
||||
|
||||
|
||||
Reference in New Issue
Block a user