You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although there is support for I2C ADC extenders, they are implemented for energy measurement.
Would it be a good idea to just have like a generic ADS1x15 with raw outputs (like the internal ESP8266 ADC), to be used for whatever (voltage measurement, NTC, etc)?
The text was updated successfully, but these errors were encountered:
hyteoo
changed the title
Generic use of I2C ADC extenders liek ADS1115, ADC121
Generic implementation of I2C ADC extenders like ADS1115, ADC121
Jul 6, 2018
Hi, the same issue here. I've bought an ADS1115 to use it as 4 Channel analog Input like the A0 from the ESP8266. It would be nice to get this feature. Thanks.
where I2CPort::read(N) is effectively an analogRead(N)
Only noticed the issue after the fact though. I guess it could be further modified as something virtual once again so there's a generic virtual unsigned int Class::analogRead(int channel);, but not inheriting from the BaseSensor stuff. edit: or, make it chain with baseanalogsensor, and simply make another class
Although there is support for I2C ADC extenders, they are implemented for energy measurement.
Would it be a good idea to just have like a generic ADS1x15 with raw outputs (like the internal ESP8266 ADC), to be used for whatever (voltage measurement, NTC, etc)?
The text was updated successfully, but these errors were encountered: