Browse Source

Load PZEM004T library

rfm69
Xose Pérez 6 years ago
parent
commit
c63188b497
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      code/espurna/config/sensors.h

+ 6
- 1
code/espurna/config/sensors.h View File

@ -407,7 +407,7 @@
//------------------------------------------------------------------------------
#ifndef PZEM004T_SUPPORT
#define PZEM004T_SUPPORT 1
#define PZEM004T_SUPPORT 0
#endif
#ifndef PZEM004T_USE_SOFT
@ -678,6 +678,11 @@ PROGMEM const char* const magnitude_units[] = {
#include "../sensors/PMSX003Sensor.h"
#endif
#if PZEM004T_SUPPORT
#include <SoftwareSerial.h>
#include "../sensors/PZEM004TSensor.h"
#endif
#if SI7021_SUPPORT
#include "../sensors/SI7021Sensor.h"
#endif


Loading…
Cancel
Save