mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-12-08 20:39:01 +00:00
Last minute changes for 1.2
Warnings about non-physical pins, and period specification for sin/cosine waves in tools
This commit is contained in:
@@ -121,3 +121,9 @@ class SPIWarning(GPIOZeroWarning):
|
||||
class SPISoftwareFallback(SPIWarning):
|
||||
"Warning raised when falling back to the software implementation"
|
||||
|
||||
class PinWarning(GPIOZeroWarning):
|
||||
"Base class for warnings related to pin implementations"
|
||||
|
||||
class PinNonPhysical(PinWarning):
|
||||
"Warning raised when a non-physical pin is specified in a constructor"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user