Arduino UNO R3 using two outputs dependent to different inputs

Please show us the code you are currently talking about in a new post.

If you used my code suggestion, did you carefully verify the polarity of the sensor readings and make any necessary adjustments?

Write an English description of the function of the OH tank and how the three sensors control the pump motor.

DO NOT USE THESE WORDS or symbols: pin, HIGH, LOW, low, output, voltage, #, 5, 6, 7, 9.

Like this:

The OH tank is filled from the storage tank using Pump #2.


There is one sensor for OH tank empty, and second sensor for OH tank full.


If the OH tank is empty, run Pump #2 until the OH tank is full.


Pump #2 should turn on again when the OH tank becomes empty.


Pump #2 should no run if there is no water for it: There is a sensor that can report that condition, it should inhibit Pump #2 from running in any case.

a7