|
Treehopper Java API
|
Internal SoftPWM config structure. More...
Public Member Functions | |
| SoftPwmConfig (Pin pin, int pulseWidthUs, boolean usePulseWidth) | |
Public Attributes | |
| Pin | Pin |
| double | DutyCycle |
| Duty Cycle, from 0 to 1. More... | |
| double | PulseWidthUs |
| Pulse Width, in Milliseconds. More... | |
| boolean | UsePulseWidth |
| int | Ticks |
Internal SoftPWM config structure.
| io.treehopper.SoftPwmConfig.SoftPwmConfig | ( | Pin | pin, |
| int | pulseWidthUs, | ||
| boolean | usePulseWidth | ||
| ) |
| double io.treehopper.SoftPwmConfig.DutyCycle |
Duty Cycle, from 0 to 1.
| Pin io.treehopper.SoftPwmConfig.Pin |
| double io.treehopper.SoftPwmConfig.PulseWidthUs |
Pulse Width, in Milliseconds.
| int io.treehopper.SoftPwmConfig.Ticks |
| boolean io.treehopper.SoftPwmConfig.UsePulseWidth |