mirror of
https://github.com/xoseperez/espurna.git
synced 2026-03-10 18:27:14 +01:00
Updated EmonLiteESP and NoFUSS libraries
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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];
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user