Need Embedded C coding for Tank Overflow Preventer

beenthere

Joined Apr 20, 2004
15,819
There is no information about the external hardware. If you have a switch closure that indicates that the tank is full, all you have to do is look for the switch with an input pin. Stop filling when the signal goes from high to low.

If you have a gauge, convert the signal and stop filling when it reaches some preset value.
 
Top