clear method
Clears all readings.
Implementation
void clear() {
readings.clear();
firstTimestamp = null;
min = average = max = null;
sum = 0;
}
Clears all readings.
void clear() {
readings.clear();
firstTimestamp = null;
min = average = max = null;
sum = 0;
}