Uses of Class
com.pi4j.io.exception.IOException
-
Packages that use IOException Package Description com.pi4j.io com.pi4j.io.exception com.pi4j.io.gpio.digital com.pi4j.io.pwm -
-
Uses of IOException in com.pi4j.io
Methods in com.pi4j.io that throw IOException Modifier and Type Method Description T
OnOffWrite. off()
T
OnOffWrite. on()
default T
OnOff. toggle()
-
Uses of IOException in com.pi4j.io.exception
Subclasses of IOException in com.pi4j.io.exception Modifier and Type Class Description class
IOAlreadyExistsException
This exception is thrown if a platform assignment is attempted when a platform instance has already been assigned.class
IOBoundsException
This exception is thrown if a platform assignment is attempted when a platform instance has already been assigned.class
IOIllegalValueException
This exception is thrown if a platform assignment is attempted when a platform instance has already been assigned.class
IOInvalidIDException
This exception is thrown if a platform assignment is attempted when a platform instance has already been assigned.class
IONotFoundException
This exception is thrown if a platform assignment is attempted when a platform instance has already been assigned.class
IOReadException
This exception is thrown if a platform assignment is attempted when a platform instance has already been assigned.class
IOShutdownException
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
Methods in com.pi4j.io.gpio.digital that throw IOException Modifier and Type Method Description default DigitalOutput
DigitalOutput. high()
high.default DigitalOutput
DigitalOutput. low()
low.DigitalOutput
DigitalOutputBase. off()
DigitalOutput
DigitalOutputBase. on()
default DigitalOutput
DigitalOutput. pulse(int interval, TimeUnit unit)
pulse.default DigitalOutput
DigitalOutput. pulse(int interval, TimeUnit unit, DigitalState state)
pulse.DigitalOutput
DigitalOutput. pulse(int interval, TimeUnit unit, DigitalState state, Callable<Void> callback)
pulse.DigitalOutput
DigitalOutputBase. pulse(int interval, TimeUnit unit, DigitalState state, Callable<Void> callback)
pulse.default DigitalOutput
DigitalOutput. pulseHigh(int interval, TimeUnit unit)
pulseHigh.default DigitalOutput
DigitalOutput. pulseLow(int interval, TimeUnit unit)
pulseLow.default DigitalOutput
DigitalOutput. setState(boolean state)
setState.default DigitalOutput
DigitalOutput. setState(byte state)
setState.default DigitalOutput
DigitalOutput. setState(double state)
setState.default DigitalOutput
DigitalOutput. setState(float state)
setState.default DigitalOutput
DigitalOutput. setState(int state)
setState.default DigitalOutput
DigitalOutput. setState(long state)
setState.default DigitalOutput
DigitalOutput. setState(short state)
setState.DigitalOutput
DigitalOutput. state(DigitalState state)
state.DigitalOutput
DigitalOutputBase. state(DigitalState state)
state.default DigitalOutput
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
Pwm. actualFrequency()
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
Pwm. applyPreset(String name)
Apply/recall a PwmPreset by name to this PWM instance.Pwm
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
Pwm. getActualFrequency()
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
PwmBase. getActualFrequency()
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
Pwm. 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.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
Pwm. 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'.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
Pwm. off()
Turn the PWM signal [OFF] by applying a zero frequency and zero duty-cycle to the PWM pin.Pwm
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'.
-