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