From ce7a019256d85cdcdf894d9c6efb078e84ae12d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Sun, 7 Jan 2018 16:02:15 +0100 Subject: [PATCH] Added support for Tarpuna Shield for Wemos D1 --- code/espurna/config/arduino.h | 3 ++- code/espurna/config/hardware.h | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/code/espurna/config/arduino.h b/code/espurna/config/arduino.h index 2ddfdadc..1a05cbd5 100644 --- a/code/espurna/config/arduino.h +++ b/code/espurna/config/arduino.h @@ -58,6 +58,7 @@ //#define ARILUX_AL_LC01 //#define ARILUX_AL_LC11 //#define ARILUX_AL_LC02 +//#define WEMOS_D1_TARPUNA_SHIELD //-------------------------------------------------------------------------------- // Features (values below are non-default values) @@ -104,4 +105,4 @@ //#define PMSX003_SUPPORT 1 //#define SHT3X_I2C_SUPPORT 1 //#define SI7021_SUPPORT 1 -//#define V9261F_SUPPORT 1 +//#define V9261F_SUPPORT 1 \ No newline at end of file diff --git a/code/espurna/config/hardware.h b/code/espurna/config/hardware.h index 7137a936..01c09719 100644 --- a/code/espurna/config/hardware.h +++ b/code/espurna/config/hardware.h @@ -64,6 +64,12 @@ #define LED1_PIN 2 #define LED1_PIN_INVERSE 1 +#elif defined(WEMOS_D1_TARPUNA_SHIELD) + + // Info + #define MANUFACTURER "WEMOS" + #define DEVICE "D1_TARPUNA_SHIELD" + // ----------------------------------------------------------------------------- // ESPurna // -----------------------------------------------------------------------------