valve-n-head
New Member
I m trying to make a gauge to directly display the miles per gallon for my vehicle. A signal from an optical encoder driven off the speedometer cable will yield a pulsed output proportional to vehicle speed in miles per hour. A flow meter inserted in the fuel line will generate a pulsed output in gallons pre hour. I need to know how to continuously divide the MPH signal by the GPH signal and display the quotient in MPG. Both signals can vary continuously. :?:
Any help will be appreciated.
Any help will be appreciated.