PwmConfigBuilder |
PwmConfigBuilder.dutyCycle(Number dutyCycle) |
Set the duty-cycle value as a decimal value that represents the
percentage of the ON vs OFF time of the PWM signal for each
period.
|
PwmConfigBuilder |
PwmConfigBuilder.frequency(Integer frequency) |
Set the configured frequency value in Hertz (number of cycles per second)
that the PWM signal generator should attempt to output when the PWM state
is enabled.
|
PwmConfigBuilder |
PwmConfigBuilder.initial(Number dutyCycle) |
Optionally configure a PWM duty-cycle value that should automatically
be applied to the PWM instance when this PWM instance is created and initialized.
|
static PwmConfigBuilder |
Pwm.newConfigBuilder(Context context) |
newConfigBuilder.
|
static PwmConfigBuilder |
PwmConfigBuilder.newInstance(Context context) |
newInstance.
|
PwmConfigBuilder |
PwmConfigBuilder.preset(PwmPreset... preset) |
Add one or more PwmPresets to this PWM instance.
|
PwmConfigBuilder |
PwmConfigBuilder.pwmType(PwmType pwmType) |
Set the PwmType of this PWM instance.
|
PwmConfigBuilder |
PwmConfigBuilder.shutdown(Number dutyCycle) |
Optionally configure a PWM duty-cycle value that should automatically
be applied to the PWM instance when the Pi4J context is shutdown.
|