Browse Source

Changes to allow compilation from Arduino IDE

fastled
Xose Pérez 7 years ago
parent
commit
12da057766
2 changed files with 17 additions and 17 deletions
  1. +17
    -17
      code/espurna/config/sensors.h
  2. +0
    -0
      code/espurna/pwm.c

+ 17
- 17
code/espurna/config/sensors.h View File

@ -456,75 +456,75 @@
// Class loading // Class loading
//-------------------------------------------------------------------------------- //--------------------------------------------------------------------------------
#include "sensors/BaseSensor.h"
#include "../sensors/BaseSensor.h"
#if ANALOG_SUPPORT #if ANALOG_SUPPORT
#include "sensors/AnalogSensor.h"
#include "../sensors/AnalogSensor.h"
#endif #endif
#if BMX280_SUPPORT #if BMX280_SUPPORT
#include <SparkFunBME280.h> #include <SparkFunBME280.h>
#include "sensors/BMX280Sensor.h"
#include "../sensors/BMX280Sensor.h"
#endif #endif
#if DALLAS_SUPPORT #if DALLAS_SUPPORT
#include <OneWire.h> #include <OneWire.h>
#include "sensors/DallasSensor.h"
#include "../sensors/DallasSensor.h"
#endif #endif
#if DHT_SUPPORT #if DHT_SUPPORT
#include "sensors/DHTSensor.h"
#include "../sensors/DHTSensor.h"
#endif #endif
#if DIGITAL_SUPPORT #if DIGITAL_SUPPORT
#include "sensors/DigitalSensor.h"
#include "../sensors/DigitalSensor.h"
#endif #endif
#if ECH1560_SUPPORT #if ECH1560_SUPPORT
#include "sensors/ECH1560Sensor.h"
#include "../sensors/ECH1560Sensor.h"
#endif #endif
#if EMON_ADC121_SUPPORT #if EMON_ADC121_SUPPORT
#include "sensors/EmonADC121Sensor.h"
#include "../sensors/EmonADC121Sensor.h"
#endif #endif
#if EMON_ADS1X15_SUPPORT #if EMON_ADS1X15_SUPPORT
#include "sensors/EmonADS1X15Sensor.h"
#include "../sensors/EmonADS1X15Sensor.h"
#endif #endif
#if EMON_ANALOG_SUPPORT #if EMON_ANALOG_SUPPORT
#include "sensors/EmonAnalogSensor.h"
#include "../sensors/EmonAnalogSensor.h"
#endif #endif
#if EVENTS_SUPPORT #if EVENTS_SUPPORT
#include "sensors/EventSensor.h"
#include "../sensors/EventSensor.h"
#endif #endif
#if HLW8012_SUPPORT #if HLW8012_SUPPORT
#include <HLW8012.h> #include <HLW8012.h>
#include "sensors/HLW8012Sensor.h"
#include "../sensors/HLW8012Sensor.h"
#endif #endif
#if MHZ19_SUPPORT #if MHZ19_SUPPORT
#include <SoftwareSerial.h> #include <SoftwareSerial.h>
#include "sensors/MHZ19Sensor.h"
#include "../sensors/MHZ19Sensor.h"
#endif #endif
#if PMSX003_SUPPORT #if PMSX003_SUPPORT
#include <SoftwareSerial.h> #include <SoftwareSerial.h>
#include <PMS.h> #include <PMS.h>
#include "sensors/PMSX003Sensor.h"
#include "../sensors/PMSX003Sensor.h"
#endif #endif
#if SI7021_SUPPORT #if SI7021_SUPPORT
#include "sensors/SI7021Sensor.h"
#include "../sensors/SI7021Sensor.h"
#endif #endif
#if SHT3X_I2C_SUPPORT #if SHT3X_I2C_SUPPORT
#include "sensors/SHT3XI2CSensor.h"
#include "../sensors/SHT3XI2CSensor.h"
#endif #endif
#if V9261F_SUPPORT #if V9261F_SUPPORT
#include <SoftwareSerial.h> #include <SoftwareSerial.h>
#include "sensors/V9261FSensor.h"
#include "../sensors/V9261FSensor.h"
#endif #endif

code/espurna/libs/pwm.c → code/espurna/pwm.c View File


Loading…
Cancel
Save