Re: analogRead() sometimes take 2x longer *and* return diff
Posted: Sun Dec 27, 2020 5:30 pm
For the record, in the end I gave up on using the ESP8266 built-in ADC, and started using a sensor which returns the data already in digital format: a little more expensive, but much more reliable.
If I ever have to deal with analog data again, I will get a dedicated ADC like the ADS1115 and interface with it over I2C instead.
Cheers,
-- Durval.
If I ever have to deal with analog data again, I will get a dedicated ADC like the ADS1115 and interface with it over I2C instead.
Cheers,
-- Durval.