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:
Dave Jones
2016-04-10 19:29:46 +01:00
parent e2b8171bbb
commit f82ddad1fc
10 changed files with 88 additions and 31 deletions

View File

@@ -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"