The program now averages the values

The program now has a subroutine that grabs the input every .1 seconds
and then in the main update subroutine it averages it out and converts
it to amperage.
Also, the section of code that converts the input to voltage is removed
because it is unnecessary and instead use the averaged input

Bijan