Browse Source

Updated EmonLiteESP and NoFUSS libraries

fastled
Xose Pérez 7 years ago
parent
commit
f4528e40e9
3 changed files with 2 additions and 5 deletions
  1. +0
    -2
      code/espurna/config/sensors.h
  2. +0
    -1
      code/espurna/emon.ino
  3. +2
    -2
      code/platformio.ini

+ 0
- 2
code/espurna/config/sensors.h 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


+ 0
- 1
code/espurna/emon.ino 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];


+ 2
- 2
code/platformio.ini 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


Loading…
Cancel
Save