Uses of Interface
com.pi4j.io.pwm.PwmConfigBuilder
Packages that use PwmConfigBuilder
-
Uses of PwmConfigBuilder in com.pi4j.io.pwm
Methods in com.pi4j.io.pwm that return PwmConfigBuilderModifier and TypeMethodDescriptionSet 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.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.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 PwmConfigBuilderPwm.newConfigBuilder(Context context) newConfigBuilder.static PwmConfigBuilderPwmConfigBuilder.newInstance(Context context) newInstance.Add one or more PwmPresets to this PWM instance.Set the PwmType of this PWM instance.Optionally configure a PWM duty-cycle value that should automatically be applied to the PWM instance when the Pi4J context is shutdown.Methods in com.pi4j.io.pwm with parameters of type PwmConfigBuilderModifier and TypeMethodDescriptiondefault <T extends Pwm>
TPwmProvider.create(PwmConfigBuilder builder) create.