It looks fine when starting, but when i added Task1 to a Moisture sensor (AIN0-GND) and Task2 a Water level sensor (AIN1-GND) after some time, their values are going to be the same... after double checked the wiring, removed the moisture sensor from soil/changing the water level, the results are the same, they differ at startup, but after some time, they value seems equal. Looks like the plugin mixing the results, if the timing coincide?
In the plugin code:
Code: Select all
Wire.endTransmission(); String log = F("ADS1115 : Analog value: "); delay(8); int16_t value = readRegister025((address), (0x00));
Nobody experienced anything like that?