change display every 5sec

This commit is contained in:
Cedric Girard 2020-05-25 17:25:31 +02:00
parent e257e85ff9
commit 876454ebfd
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4

View file

@ -354,8 +354,8 @@ void setup() {
//and then read Metrics every minutes
metricsReader.attach(60, readMetrics);
//print metrics every 15 seconds
metricsPrinter.attach(15, printMetrics);
//print metrics every 5 seconds
metricsPrinter.attach(5, printMetrics);
//First baseline reading after 12 hours
baselineReader.once(3600 * 12, readBaseline);