Uses of Class
com.kosdev.kos.core.service.gpio.GpioInputPinDef
Packages that use GpioInputPinDef
-
Uses of GpioInputPinDef in com.kosdev.kos.core.service.gpio
Methods in com.kosdev.kos.core.service.gpio that return GpioInputPinDefModifier and TypeMethodDescriptionGpioInputPinDef.setBias(GpioInputPinDef.Bias bias) Set the bias of the input pin.GpioInputPinDef.setChipName(String name) Set the name of the chip to bind to.GpioInputPinDef.setChipNum(Integer num) Set the number of the chip to bind to.GpioInputPinDef.setDebounce(int duration) Set the debounce time in micro seconds.GpioInputPinDef.setEventOnConnect(boolean flag) Set theeventOnConnectflag.GpioInputPinDef.setFalseCallback(GpioPinChangeCallback callback) Set the pin change callback to be called when pin state changes to false.GpioInputPinDef.setInverted(boolean inverted) Set the inverted flag.GpioInputPinDef.setPinName(String name) Set the name of the pin to bind to.Set the number of the pin to bind to.GpioInputPinDef.setTrueCallback(GpioPinChangeCallback callback) Set the pin change callback to be called when pin state changes to true.Methods in com.kosdev.kos.core.service.gpio with parameters of type GpioInputPinDefModifier and TypeMethodDescriptionGpioService.createInputPin(NodeId nodeId, GpioInputPinDef def) Create an input pin on the specified node.GpioService.createInputPin(GpioInputPinDef def) Create an input pin on the local node.