Interface OutputDeviceInterface

All Known Implementing Classes:
AnalogOutputDevice, Buzzer, DigitalOutputDevice, LED, LedBarGraph, OutputDeviceCollection, PwmLed, PwmLedBarGraph, PwmOutputDevice, Servo, Servo.Array
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface OutputDeviceInterface
Represents a device capable of output (digital or analog).
  • Method Summary

    Modifier and Type Method Description
    void setValue​(float value)
    Sets the output value of the device.
  • Method Details

    • setValue

      void setValue​(float value)
      Sets the output value of the device.
      Parameters:
      value - the value to output