Improve read() method to read several times the P-sensor value

read() - by default - reads READ_N_TIMES=3 sensor values and compute the mean of the in-range values.
Because read() now includes a specific delay, no call to sleep{} are required when calling read().
2 files changed