Package com.diozero.internal.provider
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.provider.DeviceFactoryInterface
close, createI2CKey, createPinKey, createSerialKey, createSpiKey, deviceClosed, deviceOpened, getBoardPinInfo, getDevice, getDevice, getName, isClosed, isDeviceOpened, start
-
Method Details
-
provisionAnalogOutputDevice
default AnalogOutputDeviceInterface provisionAnalogOutputDevice(int dacNumber, float initialValue) throws RuntimeIOException- Throws:
RuntimeIOException
-
createAnalogOutputDevice
AnalogOutputDeviceInterface createAnalogOutputDevice(String key, PinInfo pinInfo, float initialValue)
-