diff --git a/arduino-max485-epever-json-serial.ino b/arduino-max485-epever-json-serial.ino index e9c1f49..66227df 100644 --- a/arduino-max485-epever-json-serial.ino +++ b/arduino-max485-epever-json-serial.ino @@ -82,11 +82,9 @@ float stats_today_pv_volt_min, stats_today_pv_volt_max; bool rs485DataReceived = true; bool loadPoweredOn = true; +// uint8_t is short hand for a byte or an integer of length 8 bits uint8_t result; uint16_t data[6]; - -int outputValue1 = 0; -int countIt = 0; void preTransmission() { @@ -130,7 +128,6 @@ bool state = true; void loop() { - // uint8_t is short hand for a byte or an integer of length 8 bits AddressRegistry_3100(); AddressRegistry_3106(); AddressRegistry_310D(); @@ -160,10 +157,7 @@ void loop() } -// AddressRegistry from esp8266_max485_simple - - - +// AddressRegistry from https://github.com/Bettapro/Solar-Tracer-Blynk-V3 void AddressRegistry_3100() { result = node.readInputRegisters(0x3100, 6);