void loop() { current_time = millis(); timerLoop(); buttonLoop(); }
void loop() { buttonLoop(); webServerLoop(); if(takeReadingsNow) { takeReadingsNow = false; sensorsRead(); if(graphiteServer) sendReadingsToGraphite(); } }