Updated EmonLiteESP and NoFUSS libraries

This commit is contained in:
Xose Pérez
2017-08-28 15:37:44 +02:00
parent 9a83e0a013
commit f4528e40e9
3 changed files with 2 additions and 5 deletions

View File

@@ -85,7 +85,6 @@
#define EMON_CURRENT_PIN 0
#define EMON_ADC_BITS 10
#define EMON_REFERENCE_VOLTAGE 1.0
#define EMON_CURRENT_PRECISION 1
#define EMON_CURRENT_OFFSET 0.25
#if EMON_SUPPORT
#undef ADC_VCC_ENABLED
@@ -97,7 +96,6 @@
#define EMON_ADC121_ADDRESS 0x50
#define EMON_ADC_BITS 12
#define EMON_REFERENCE_VOLTAGE 3.3
#define EMON_CURRENT_PRECISION 2
#define EMON_CURRENT_OFFSET 0.10
#endif

View File

@@ -94,7 +94,6 @@ void powerMonitorSetup() {
EMON_REFERENCE_VOLTAGE,
getSetting("emonRatio", EMON_CURRENT_RATIO).toFloat()
);
emon.setPrecision(EMON_CURRENT_PRECISION);
#if EMON_PROVIDER == EMON_ADC121_PROVIDER
uint8_t buffer[2];

View File

@@ -25,8 +25,8 @@ lib_deps =
https://bitbucket.org/xoseperez/justwifi.git#1.1.4
https://bitbucket.org/xoseperez/hlw8012.git#1.0.1
https://bitbucket.org/xoseperez/fauxmoesp.git#2.1.1
https://bitbucket.org/xoseperez/nofuss.git#0.2.2
https://bitbucket.org/xoseperez/emonliteesp.git#0.1.2
https://bitbucket.org/xoseperez/nofuss.git#0.2.4
https://bitbucket.org/xoseperez/emonliteesp.git#0.2.0
https://bitbucket.org/xoseperez/debounceevent.git#2.0.1
https://github.com/xoseperez/my9291#2.0.0
https://github.com/xoseperez/RemoteSwitch-arduino-library.git