diff --git a/arduino-max485-epever-json-serial.ino b/arduino-max485-epever-json-serial.ino index 2ce4a7a..f2a2ee6 100644 --- a/arduino-max485-epever-json-serial.ino +++ b/arduino-max485-epever-json-serial.ino @@ -71,6 +71,9 @@ #include #include "ArduinoJson.h" +// when having two solar controllers, set it to true, otherwise to false +// it is important to set it to false when only having one solar controller +// to avoid waiting for the timeout of the second controller bool twoController = true; SoftwareSerial myserial(10, 11); // RX, TX