No it's the sum of the amount of presses or the total time pressed that activates the pump for x seconds.Powering s pump for x seconds each time a button is pressed is easy. Is that all you need or do you need some type of TOTALIZER that tells you how much time for the sum of all button presses? Or a way to monitor how many button presses were made?
A s the level of fluid in the tank gets used over a period of time not presses (if the user presses 10 times really short the tank would still be full but the pump would trigger) so a time based accumulator would be ideal but if that's to complex I can deal with a normal counter , and yes it all resets after the pump has triggered. So no not running simultaneously , one or the other time preferable And thanks for your reply !X is an event accumulator that is increased by 1 with each button pressed. Sometimes this is called a "counter".
op - the event counter method is much easier than the time counter method. Is that ok, or do you want *both* methods operating at the same time, and the pump comes on when *either* 10 presses or 23 seconds accumulated button time is exceeded?