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
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 Details
-
getValue
- Throws:
RuntimeIOException
-
setValue
- Throws:
RuntimeIOException
-
getAdcNumber
int getAdcNumber() -
getMode
-