Package io.openems.edge.io.gpio.linuxfs
Class Gpio
java.lang.Object
io.openems.edge.io.gpio.linuxfs.Gpio
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
LinuxFsDigitalIn
,LinuxFsDigitalOut
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Gpio
-
-
Method Details
-
writeValue
- Throws:
OpenemsException
-
getValue
Gets the value of the GPIO pin.- Returns:
- a value of true/false if reading the value was successful, otherwise empty.
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
toString
-