clear method

void clear()

Clears all readings.

Implementation

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