Hi
I want to collect data in a half hour interval . And after every one hour take the average of the two measurements and add it to the stored value of the previous hour. Also once the average is taken and the value is store I want to reset it before taking the next two measurements.