JeremyAdair87
Member
The logic for the pumps is incomplete. It fills while the high level sensor is not on, but as soon as you pump out enough for the sensor to toggle it turns back on.
You need to find a way to make the pumps stay off until a low level sensor is made. I would use a "seal in" or latch with soft bits for this.
Since your full light keeps turning off and right back on due to this flaw, your pump 3 is also appearing to stay on because your always filling and not waiting until the tank is empty before filling again.
basically you told the program to fill while high level sensor is off. when you try to pump it out the water level gets below the sensor, the high level sensor goes off but the tank is at 99% capacity and you turn the fill pump back on... Fix that line of code
Good luck
You need to find a way to make the pumps stay off until a low level sensor is made. I would use a "seal in" or latch with soft bits for this.
Since your full light keeps turning off and right back on due to this flaw, your pump 3 is also appearing to stay on because your always filling and not waiting until the tank is empty before filling again.
basically you told the program to fill while high level sensor is off. when you try to pump it out the water level gets below the sensor, the high level sensor goes off but the tank is at 99% capacity and you turn the fill pump back on... Fix that line of code
Good luck
Last edited: