first (dirty) protoype of having two solar controllers with two seperate mx485
This commit is contained in:
parent
d491b335e4
commit
95e1ea053a
1 changed files with 3 additions and 0 deletions
|
@ -71,6 +71,9 @@
|
|||
#include <SoftwareSerial.h>
|
||||
#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
|
||||
|
|
Loading…
Reference in a new issue