From fa0562e4ea09e0e1580c42173580b9e70d767ad2 Mon Sep 17 00:00:00 2001 From: Eggert Jung Date: Fri, 25 Feb 2022 15:56:43 +0100 Subject: [PATCH] increase to 10Hz poll rate --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 2ffce4f..499a948 100644 --- a/main.c +++ b/main.c @@ -181,9 +181,9 @@ int main() timer_blink_outs = millis(); } - if(millis() - timer_modbus_poll > 200){ - timer_modbus_poll += 200; + if(millis() - timer_modbus_poll > 100){ do_kraftsensor(); + timer_modbus_poll += 100; } #if PLC_MQTT_ENABLED