Can anyone suggest a spot to insert the code? I'm a bit lost.
Also do you see any issues with the above lines of code?
Im getting a voltage output that somehow scales with the remaining L value, however is not linear! I have trialled this by for a given consumption (say 1L) changing the tank size parameter. The output voltage does not vary linearly with remaining value or % full.
This would be a great 'option' to be able to provide for people to output to a external gauge since the mpguino is FAR superior in accuracy to a float level assy based level gauge (since the height does not vary linearly with the volume remaining in many tanks due to the way they are constructed!
Thanks.
|