added arduino averager