Uses of Class
com.pi4j.io.exception.IOException

Packages that use IOException
  • Uses of IOException in com.pi4j.io

    Methods in com.pi4j.io that throw IOException
    Modifier and Type
    Method
    Description
    OnOffWrite.off()
     
    OnOffWrite.on()
     
    default T
    OnOff.toggle()
     
  • Uses of IOException in com.pi4j.io.exception

    Modifier and Type
    Class
    Description
    class 
    This exception is thrown if a platform assignment is attempted when a platform instance has already been assigned.
    class 
    This exception is thrown if a platform assignment is attempted when a platform instance has already been assigned.
    class 
    This exception is thrown if a platform assignment is attempted when a platform instance has already been assigned.
    class 
    This exception is thrown if a platform assignment is attempted when a platform instance has already been assigned.
    class 
    This exception is thrown if a platform assignment is attempted when a platform instance has already been assigned.
    class 
    This exception is thrown if a platform assignment is attempted when a platform instance has already been assigned.
    class 
    This exception is thrown if a platform assignment is attempted when a platform instance has already been assigned.
  • Uses of IOException in com.pi4j.io.gpio.digital

    Modifier and Type
    Method
    Description
    DigitalOutput.high()
    high.
    DigitalOutput.low()
    low.
    DigitalOutputBase.off()
    DigitalOutputBase.on()
    DigitalOutput.pulse(int interval, TimeUnit unit)
    pulse.
    DigitalOutput.pulse(int interval, TimeUnit unit, DigitalState state)
    pulse.
    DigitalOutput.pulse(int interval, TimeUnit unit, DigitalState state, Callable<Void> callback)
    pulse.
    DigitalOutputBase.pulse(int interval, TimeUnit unit, DigitalState state, Callable<Void> callback)
    pulse.
    DigitalOutput.pulseHigh(int interval, TimeUnit unit)
    pulseHigh.
    DigitalOutput.pulseLow(int interval, TimeUnit unit)
    pulseLow.
    DigitalOutput.setState(boolean state)
    setState.
    DigitalOutput.setState(byte state)
    setState.
    DigitalOutput.setState(double state)
    setState.
    DigitalOutput.setState(float state)
    setState.
    DigitalOutput.setState(int state)
    setState.
    DigitalOutput.setState(long state)
    setState.
    DigitalOutput.setState(short state)
    setState.
    DigitalOutput.state(DigitalState state)
    state.
    DigitalOutputBase.state(DigitalState state)
    state.
    DigitalOutput.toggle()
    toggle.
  • Uses of IOException in com.pi4j.io.pwm

    Methods in com.pi4j.io.pwm that throw IOException
    Modifier and Type
    Method
    Description
    default int
    Get the actual frequency value in Hertz (number of cycles per second) applied by the PWM signal generator after the PWM signal is turned 'ON'.
    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 float
    Pwm.dutyCycle()
    Get 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.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 int
    Pwm.frequency()
    Get the configured frequency value in Hertz (number of cycles per second) that the PWM signal generator should attempt to output when the PWM signal is turned 'ON'.
    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'.
    int
    Get the actual frequency value in Hertz (number of cycles per second) applied by the PWM signal generator after the PWM signal is turned 'ON'.
    int
    Get the actual frequency value in Hertz (number of cycles per second) applied by the PWM signal generator after the PWM signal is turned 'ON'.
    float
    Get 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.
    float
    PwmBase.getDutyCycle()
    Get 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.
    int
    Get the configured frequency value in Hertz (number of cycles per second) that the PWM signal generator should attempt to output when the PWM signal is turned 'ON'.
    int
    PwmBase.getFrequency()
    Get the configured frequency value in Hertz (number of cycles per second) that the PWM signal generator should attempt to output when the PWM signal is turned 'ON'.
    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).
    void
    Pwm.setDutyCycle(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.
    void
    PwmBase.setDutyCycle(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.
    void
    Pwm.setFrequency(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'.
    void
    PwmBase.setFrequency(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'.