Class GpioDevice

    • Field Detail

      • gpio

        protected int gpio
    • Constructor Detail

      • GpioDevice

        public GpioDevice​(int gpio)
        Parameters:
        gpio - GPIO to which the device is connected.
    • Method Detail

      • getGpio

        public int getGpio()
        Get the GPIO for this device.
        Returns:
        GPIO for this device.