pass
+
# pylint: enable=unnecessary-pass
period = property(_get_period, _set_period)
"""Get or set the PWM's output period in seconds.
-
+
Raises:
PWMError: if an I/O or OS error occurs.
TypeError: if value type is not int.
-
+
:type: int, float
"""
period_ms = property(_get_period_ms, _set_period_ms)
"""Get or set the PWM's output period in milliseconds.
-
+
Raises:
PWMError: if an I/O or OS error occurs.
TypeError: if value type is not int.
-
+
:type: int, float
"""
period_us = property(_get_period_us, _set_period_us)
"""Get or set the PWM's output period in microseconds.
-
+
Raises:
PWMError: if an I/O or OS error occurs.
TypeError: if value type is not int.
-
+
:type: int
"""
period_ns = property(_get_period_ns, _set_period_ns)
"""Get or set the PWM's output period in nanoseconds.
-
+
Raises:
PWMError: if an I/O or OS error occurs.
TypeError: if value type is not int.
-
+
:type: int
"""
duty_cycle_ns = property(_get_duty_cycle_ns, _set_duty_cycle_ns)
"""Get or set the PWM's output duty cycle in nanoseconds.
-
+
Raises:
PWMError: if an I/O or OS error occurs.
TypeError: if value type is not int.
-
+
:type: int
"""