Uses of Interface
com.pi4j.io.pwm.Pwm

Packages that use Pwm
Package
Description
 
  • Uses of Pwm in com.pi4j.io.pwm

    Classes in com.pi4j.io.pwm that implement Pwm
    Modifier and Type
    Class
    Description
    class 
    Abstract PwmBase class.
    Methods in com.pi4j.io.pwm with type parameters of type Pwm
    Modifier and Type
    Method
    Description
    default <T extends Pwm>
    T
    PwmProvider.create(PwmConfigBuilder builder)
    create.
    default <T extends Pwm>
    T
    PwmProvider.create(Integer address)
    create.
    default <T extends Pwm>
    T
    PwmProvider.create(Integer address, String id)
    create.
    default <T extends Pwm>
    T
    PwmProvider.create(Integer address, String id, String name)
    create.
    default <T extends Pwm>
    T
    PwmProvider.create(Integer address, String id, String name, String description)
    create.
    Methods in com.pi4j.io.pwm that return Pwm
    Modifier and Type
    Method
    Description
    Pwm.addPreset(PwmPreset preset)
    Add a new PwmPreset to this PWM instance.
    PwmBase.addPreset(PwmPreset preset)
    Add a new PwmPreset to this PWM instance.
    Pwm.applyPreset(String name)
    Apply/recall a PwmPreset by name to this PWM instance.
    PwmBase.applyPreset(String name)
    Apply/recall a PwmPreset by name to this PWM instance.
    default Pwm
    Pwm.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.
    default Pwm
    Pwm.frequency(int frequency)
    Set the configured frequency value in Hertz (number of cycles per second) that the PWM signal generator should use when the PWM signal is turned 'ON'.
    PwmBase.initialize(Context context)
    initialize.
    Pwm.off()
    Turn the PWM signal [OFF] by applying a zero frequency and zero duty-cycle to the PWM pin.
    Pwm.on()
    Turn the PWM signal [ON] using the configured frequency and duty-cycle.
    default Pwm
    Pwm.on(Number dutyCycle)
    Turn the PWM signal [ON] using a specified duty-cycle (%) at the pre-configured frequency (Hz).
    default Pwm
    Pwm.on(Number dutyCycle, int frequency)
    Turn the PWM signal [ON] using a specified duty-cycle (%) at the pre-configured frequency (Hz).
    PwmBase.shutdown(Context context)
    shutdown.