Interface DigitalOut

All Superinterfaces:
DigitalIn
All Known Implementing Classes:
LinuxFsDigitalOut

public interface DigitalOut extends DigitalIn
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setValue(boolean value)
    Sets the value of the GPIO according to the input parameter.

    Methods inherited from interface io.openems.edge.io.gpio.api.DigitalIn

    getValue
  • Method Details

    • setValue

      void setValue(boolean value) throws OpenemsException
      Sets the value of the GPIO according to the input parameter.
      Parameters:
      value - sets the GPIO to high if value is true, otherwise sets it to low.
      Throws:
      OpenemsException - exception if setting the value is not successful.