Files
espurna/code
Maxim Prokhorov b19905a306 sns: EmonSensor fixes and refactoring
- fix dubious pinMode(0, INPUT), which does not work with esp8266 as A0 != GPIO0
- I2C sensor locking code can now exist separately from the base class
- EmonSensor -> BaseAnalogEmonSensor
- move AnalogEmon-specific methods from BaseEmonSensor to BaseAnalogEmonSensor
- clean-up protected member usage across the base, force the class to implement certain methods instead
- more code reuse between sensor versions
- drop local magnitude indexes & shared arrays of values in favour of separate
class instances, refactor ADS1X115 to the new model
- (techically) allow ADS1X115 code to be used with more than one i2c address
by having a shared port instance
2021-06-18 12:12:09 +03:00
..
2021-06-09 11:20:07 +03:00
2019-07-11 00:34:17 +03:00
2021-01-16 20:40:23 +03:00
2019-07-11 00:34:17 +03:00
2021-02-04 12:03:26 +03:00
2021-01-16 20:40:23 +03:00
2019-07-11 00:34:17 +03:00