Class GpioPinAnalogValueChangeEvent

    • Constructor Detail

      • GpioPinAnalogValueChangeEvent

        public GpioPinAnalogValueChangeEvent​(Object obj,
                                             GpioPin pin,
                                             double value)
        Default event constructor
        Parameters:
        obj - Ignore this parameter
        pin - GPIO pin number (not header pin number; not wiringPi pin number)
        value - New GPIO pin value.
    • Method Detail

      • getValue

        public double getValue()
        Get the new pin value raised in this event.
        Returns:
        GPIO pin value