Hi guys first post at to be honest ive been stuck on this one for hours now.
The question goes
Two water tanks each have a sensor indicating whether the tank is empty. Build a logic cirucit using gates to turn on a yellow light when one water tank is empty and a red light when both tanks are empty. The yellow light should be off when both tanks are empty.
I have a and gate for the two tank inputs to indicate the red light output and a or gate to indicate the yellow light. but i cannot figure out how to get the or gate output to turn off when the and gate comes on for the red light.
Guidence please. i know its something super simple that im just not seeing!
The question goes
Two water tanks each have a sensor indicating whether the tank is empty. Build a logic cirucit using gates to turn on a yellow light when one water tank is empty and a red light when both tanks are empty. The yellow light should be off when both tanks are empty.
I have a and gate for the two tank inputs to indicate the red light output and a or gate to indicate the yellow light. but i cannot figure out how to get the or gate output to turn off when the and gate comes on for the red light.
Guidence please. i know its something super simple that im just not seeing!