Class DigitalInputDevice.Builder

  • Enclosing class:
    DigitalInputDevice

    public static class DigitalInputDevice.Builder
    extends Object
    Digital input device builder. Default values: Either a GPIO number or a PinInfo instance must be specified. Using a PinInfo instance allows input devices to be identified by either physical pin number or GPIO chip and line offset. The optional activeHigh parameter default value assumes a normally open wiring configuration, however, this can be overridden for normally closed configurations as well as scenarios where pud is GpioPullUpDown.NONE and an external pull up/down resistor is used.