rrbigdog
New member
currently checkATO function is called once per second. Looking at my outlet logs, my ato pump usually comes on 20 seconds or more, though I don't have much turbulence in my sump return section.
you can modify the code to check it at a different interval. That will give you the same effect. The interval will then be the minimum amount of time the ato pump comes on when triggered. One way to do this is to add a static int counter and call checkATO only once counter reach the interval you want.
the above will call checkATO once every minute instead of once every second.Code:static int counter=0; if (counter++>=60) { checkATO(); counter=0; }
That should work....but can you give me a little more help where that code would be placed.....? Having a little trouble identifying location.