Package com.diozero.internal.spi
Interface AnalogOutputDeviceFactoryInterface
- All Superinterfaces:
AutoCloseable
,Closeable
,DeviceFactoryInterface
- All Known Subinterfaces:
NativeDeviceFactoryInterface
- All Known Implementing Classes:
BaseNativeDeviceFactory
,DefaultDeviceFactory
,PCF8591
,PiconZero
public interface AnalogOutputDeviceFactoryInterface extends DeviceFactoryInterface
-
Method Summary
Modifier and Type Method Description AnalogOutputDeviceInterface
createAnalogOutputDevice(String key, PinInfo pinInfo, float initialValue)
default AnalogOutputDeviceInterface
provisionAnalogOutputDevice(int dacNumber, float initialValue)
Methods inherited from interface com.diozero.internal.spi.DeviceFactoryInterface
close, createI2CKey, createPinKey, createSerialKey, createSpiKey, deviceClosed, deviceOpened, getBoardPinInfo, getDevice, getName, isClosed, isDeviceOpened, reopen, start
-
Method Details
-
provisionAnalogOutputDevice
default AnalogOutputDeviceInterface provisionAnalogOutputDevice(int dacNumber, float initialValue) throws RuntimeIOException- Throws:
RuntimeIOException
-
createAnalogOutputDevice
AnalogOutputDeviceInterface createAnalogOutputDevice(String key, PinInfo pinInfo, float initialValue)
-