Fixed Filters, split file in html, script and css
This commit is contained in:
@@ -258,7 +258,7 @@ void loop()
|
||||
ignA_avg.update(ign_info); // update moving average with latest ignition status
|
||||
Serial.print("Data Received: " + String(counter) + "/" + String(hist.size()) + '\r');
|
||||
|
||||
if (ws.count() > 0 && counter % max_queue == 0)
|
||||
if (ws.count() > 0 && counter % 10 == 0) // send data every 10 samples
|
||||
{
|
||||
Serial.println();
|
||||
LOG_INFO("Sending average ignition status to websocket clients...");
|
||||
|
||||
Reference in New Issue
Block a user