how can i improve my code?

HazardsMind:

unfortunately, i do need to debounce. the very first sketch i did didn't use debounce and the readings were always about 7X higher than they should of been.

Do you have an oscilloscope? I'm curious as to what the meter is actually outputting.

[url=https://www.youtube.com/watch?v=uPMGtORsbmk[this video](http://this video) is old, i made it before i even started messing with the arduino interface... does it show you what you want? if not i can make another one but we're redoing the house at the mo so getting the scope out would be a pain.