Class PinAnalogValueChangeEvent

    • Constructor Detail

      • PinAnalogValueChangeEvent

        public PinAnalogValueChangeEvent​(Object obj,
                                         Pin 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 analog value.
    • Method Detail

      • getValue

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