Package com.kosdev.kos.core.service.gpio
Class GpioOutputPin
java.lang.Object
com.kosdev.kos.core.service.gpio.GpioPin
com.kosdev.kos.core.service.gpio.GpioOutputPin
GPIO output pin.
- Since:
- 9
- Version:
- 9
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.kosdev.kos.core.service.gpio.GpioPin
getChipNum, getPinBinding, getPinNum, isConnected
-
Constructor Details
-
GpioOutputPin
public GpioOutputPin()
-
-
Method Details
-
setValue
Set the value of the output pin.- Parameters:
val- the value to set to- Throws:
IOException- Since:
- 9
-
getValue
Return the most recently set value of the pin. If not set, returns null.- Since:
- 9
-
getHardwareValue
Return the actual value sent to hardware, factoring in inverted flag.- Since:
- 9
-