I am developing a pump program and need to capture the peak flow that occurs in 1 day. I have the analog input for the flow but I don't know how to capture the highest value of that flow for the day. I also need to capture the time at which the peak flow occurs. Any ideas?
I should use the compare instruction but what should I be comparing? Thanks for your help!
I should use the compare instruction but what should I be comparing? Thanks for your help!