Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Both The Three Way And Two Way valves will look the same code vise. The difference is in how they operate, but for implementation they will look identical.

Lets start by identifying the required inputs and outputs:


INPUTS:

  • openCMD → BOOL
  • override → Int


OUTPUTS:

  • valveSignal → BOOL
  • valveState → INT