Package io.openems.edge.io.gpio.linuxfs
Class HardwareFactory
java.lang.Object
io.openems.edge.io.gpio.linuxfs.HardwareFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfabricateIn
(int gpio) Creates a digital input with Linux file system driver.fabricateOut
(int gpio) Creates a digital output with Linux file system driver.
-
Constructor Details
-
HardwareFactory
-
-
Method Details
-
fabricateIn
Creates a digital input with Linux file system driver.- Parameters:
gpio
- the number of the GPIO on the device.- Returns:
- a java object that represents the digital input.
-
fabricateOut
Creates a digital output with Linux file system driver.- Parameters:
gpio
- the number of the GPIO on the device.- Returns:
- a java object that represents the digital output.
-