Update docs for v0.8.0

This commit is contained in:
Ben Nuttall
2015-10-17 12:36:41 +01:00
parent fcc7c47fe3
commit b7cce51497
7 changed files with 256 additions and 54 deletions

View File

@@ -576,5 +576,3 @@ class MCP3004(MCP3008):
# channel number must be 0 (effectively restricting it to 4 channels)
if not 0 <= channel < 4:
raise InputDeviceError('channel must be between 0 and 3')

View File

@@ -224,7 +224,8 @@ class PWMOutputDevice(DigitalOutputDevice):
value = property(_get_value, _set_value, doc="""\
The duty cycle of the PWM device. 0.0 is off, 1.0 is fully on. Values
in between may be specified for varying levels of power in the device.
""")
"""
)
@property
def is_active(self):
@@ -240,7 +241,8 @@ class PWMOutputDevice(DigitalOutputDevice):
frequency = property(_get_frequency, _set_frequency, doc="""\
The frequency of the pulses used with the PWM device, in Hz. The
default is 100.
""")
"""
)
def _led_property(index, doc=None):