comment stuff

This commit is contained in:
Marcus 2023-08-10 02:46:02 +02:00
parent 6a72853b77
commit 84c1e0e47d

View file

@ -82,11 +82,9 @@ float stats_today_pv_volt_min, stats_today_pv_volt_max;
bool rs485DataReceived = true; bool rs485DataReceived = true;
bool loadPoweredOn = true; bool loadPoweredOn = true;
// uint8_t is short hand for a byte or an integer of length 8 bits
uint8_t result; uint8_t result;
uint16_t data[6]; uint16_t data[6];
int outputValue1 = 0;
int countIt = 0;
void preTransmission() void preTransmission()
{ {
@ -130,7 +128,6 @@ bool state = true;
void loop() void loop()
{ {
// uint8_t is short hand for a byte or an integer of length 8 bits
AddressRegistry_3100(); AddressRegistry_3100();
AddressRegistry_3106(); AddressRegistry_3106();
AddressRegistry_310D(); 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() { void AddressRegistry_3100() {
result = node.readInputRegisters(0x3100, 6); result = node.readInputRegisters(0x3100, 6);