From 7ae7e6d8e3e76d9bf89c3dcfe122d6a963de930d Mon Sep 17 00:00:00 2001 From: Marcus Date: Sun, 13 Aug 2023 04:21:19 +0200 Subject: [PATCH] lower delay, keep serial.println after json, seems to work best with the python script --- arduino-max485-epever-json-serial.ino | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arduino-max485-epever-json-serial.ino b/arduino-max485-epever-json-serial.ino index 87b8e1e..5e14ed7 100644 --- a/arduino-max485-epever-json-serial.ino +++ b/arduino-max485-epever-json-serial.ino @@ -243,10 +243,10 @@ void loop() } serializeJson(jsonOut, Serial); - //Serial.println(); + Serial.println(); //Serial.write( '\r' ); // Carriage Return - Serial.write( '\n' ); // EOL - delay(5000); + //Serial.write( '\n' ); // EOL + delay(3000); }