Package com.diozero.internal.spi
Interface AnalogOutputDeviceInterface
-
- All Superinterfaces:
AutoCloseable
,DeviceInterface
,InternalDeviceInterface
- All Known Implementing Classes:
PiconZero.PiconZeroAnalogOutputDevice
public interface AnalogOutputDeviceInterface extends InternalDeviceInterface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description int
getAdcNumber()
default DeviceMode
getMode()
float
getValue()
void
setValue(float value)
-
Methods inherited from interface com.diozero.api.DeviceInterface
close
-
Methods inherited from interface com.diozero.internal.spi.InternalDeviceInterface
getKey, isOpen
-
-
-
-
Method Detail
-
getValue
float getValue() throws RuntimeIOException
- Throws:
RuntimeIOException
-
setValue
void setValue(float value) throws RuntimeIOException
- Throws:
RuntimeIOException
-
getAdcNumber
int getAdcNumber()
-
getMode
default DeviceMode getMode()
-
-