|
Treehopper C# API
|
PCA9685 pin More...
Public Member Functions | |
| Task | EnablePwmAsync () |
| Enable the PWM functionality More... | |
| Task | DisablePwmAsync () |
| Disables the PWM functionality More... | |
Properties | |
| double | DutyCycle [get, set] |
| Gets or sets the duty cycle of this pin More... | |
| bool | Enabled [get, set] |
| Whether the PWM pin is enabled. More... | |
| double | PulseWidth [get, set] |
| Gets or sets the pulse width, in microseconds. More... | |
PCA9685 pin
| Task EnablePwmAsync | ( | ) |
Enable the PWM functionality
///
Implements Pwm.
| Task DisablePwmAsync | ( | ) |
Disables the PWM functionality
Implements Pwm.
|
getset |
Gets or sets the duty cycle of this pin
|
getset |
Whether the PWM pin is enabled.
Writes to this value are ignored, and will always read as "true"
|
getset |
Gets or sets the pulse width, in microseconds.