Flowmeter with Arduino - Reset Function

Thread Starter

rennie1080

Joined Apr 10, 2017
48
I want to build a fuel system. I will use flowmeter also to count fuel flow speed. But I want to reset just total fuel flow. While not reset other sensor counts ( pressure, temperature etc.) how can I achieve by using a button for arduino ( code ) ? I add an example of it . Have a nice day

 

danadak

Joined Mar 10, 2018
3,792
Basically you would add code to debounce a button, then when button detected
clear the flow meter variable. Google "Arduino button debounce", lots of ref
material/examples.

Regards, Dana.
 
Top