My guess is that if you clear V_total, you won't need anything else.
Consider:
If the A/D returns a value of 410
1st time through the loop
V_Total = 200
Second time through the loop
V_Total = 202
Third time through the loop
V_Total = 204
....
And it goes through those loops pretty fast. I can see how the results would look inconsistent
Bookmarks