Interface DigitalIn

All Known Subinterfaces:
DigitalOut
All Known Implementing Classes:
LinuxFsDigitalIn, LinuxFsDigitalOut

public interface DigitalIn
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the value of the digital input.
  • Method Details

    • getValue

      Optional<Boolean> getValue()
      Gets the value of the digital input.
      Returns:
      true if the input is high, otherwise false. Undefined on error/unknown.