21-08-2017, 23:53
// --------------------------------------------------------------------------------------
// WeatherDuino Pro2 PLUS Wireless Display
// Version: WD PLUS 3.0-b005
// User configurable options
// --------------------------------------------------------------------------------------
// --------------------------------------------------------------------------------------
// Define the ID for the Wireless Display Units
// Relay_ID should be equal to the value set in your Main RX software
// --------------------------------------------------------------------------------------
const byte Relay_ID = 0xA3;
// --- Define your Display type
#define DisplayType 1 // 1= TFT 320x240 ILI9341, 4= 20x4 LCD, 5= 16x2 LCD
// --- Define if your ILI9341 TFT Display have touch capabilities
// --- ATENTION! Only WD boards v2.20 (released in 2015) or greater have hardware support for the touch panel
// --- A TFT with a touch panel is highly recommended
#define Touch_Display 1 // 0= Display without touch panel, 1 = Display with touch panel
// --- Define Backlight timeOut
byte BackLight_Timeout = 0; // Timeout for TFT backlight in minutes (1 to 255). 0= Always ON
// --- Use local TH sensor or Main Station TH sensor for Inside Temp / Hum display
#define UseLocalTH_Sensor 1 // 1= Local TH Sensor, 0= Main Station TH sensor
// --- Define type of Local TH sensor
#define InsideTH_Sensor 3 // 0= DHT22, 1= HTU21D, 2= SHT21, 3= SHT31
// --- Fine adjusts for Local Inside Temperature
int TemperaturaInt_offset = 0; // Inside Temperature Fine Adjust in Tenths of Degrees
#define Board_Type 1 // 1= WD Boards >= 2.xx, 0= Others (Old RX converted boards)
// ---- Define personalized names for each Extra Sensor. Attention, maximum 8 chars
#define ExtraSensor1_Name ""
#define ExtraSensor2_Name "LagoAgua"
#define ExtraSensor3_Name "Alpendre"
#define ExtraSensor4_Name "Main Out"
#define ExtraSensor5_Name "1-Wire 0"
#define ExtraSensor6_Name "Dust TH "
#define ExtraSensor7_Name ""
// ---- Define personalized names for each Soil and Leaf Sensor. Attention, maximum 8 chars
#define SoilSensor1_Name "Solo Frt"
#define SoilSensor2_Name ""
#define SoilSensor3_Name ""
#define SoilSensor4_Name "LagoAgua"
#define LeafSensor1_Name "Folhas "
#define LeafSensor2_Name ""
#define LeafSensor3_Name ""
#define LeafSensor4_Name ""
// --------------------------------------------------------------------------------------
// Define display order of data screens on the TFT
// Use numbers from 1 to 4. Use 9 to prevent a particular data screen to be shown
// --------------------------------------------------------------------------------------
#define ExtraSensors_Data 9
#define SoilLeaf_Data 9
#define AirQuality_Data 1
#define TXinfo_Data 2
// --------------------------------------------------------------------------------------
// Hardware settings
// --------------------------------------------------------------------------------------
// SHT31 I2c Address
// Default address will work most of the times!
#define SHT31_address 0x45 // Default value is 0x44, but some brands use address 0x45
// ---------------------------------------------------------------------------------------------------
// End of user configurable options
// ---------------------------------------------------------------------------------------------------
// WeatherDuino Pro2 PLUS Wireless Display
// Version: WD PLUS 3.0-b005
// User configurable options
// --------------------------------------------------------------------------------------
// --------------------------------------------------------------------------------------
// Define the ID for the Wireless Display Units
// Relay_ID should be equal to the value set in your Main RX software
// --------------------------------------------------------------------------------------
const byte Relay_ID = 0xA3;
// --- Define your Display type
#define DisplayType 1 // 1= TFT 320x240 ILI9341, 4= 20x4 LCD, 5= 16x2 LCD
// --- Define if your ILI9341 TFT Display have touch capabilities
// --- ATENTION! Only WD boards v2.20 (released in 2015) or greater have hardware support for the touch panel
// --- A TFT with a touch panel is highly recommended
#define Touch_Display 1 // 0= Display without touch panel, 1 = Display with touch panel
// --- Define Backlight timeOut
byte BackLight_Timeout = 0; // Timeout for TFT backlight in minutes (1 to 255). 0= Always ON
// --- Use local TH sensor or Main Station TH sensor for Inside Temp / Hum display
#define UseLocalTH_Sensor 1 // 1= Local TH Sensor, 0= Main Station TH sensor
// --- Define type of Local TH sensor
#define InsideTH_Sensor 3 // 0= DHT22, 1= HTU21D, 2= SHT21, 3= SHT31
// --- Fine adjusts for Local Inside Temperature
int TemperaturaInt_offset = 0; // Inside Temperature Fine Adjust in Tenths of Degrees
#define Board_Type 1 // 1= WD Boards >= 2.xx, 0= Others (Old RX converted boards)
// ---- Define personalized names for each Extra Sensor. Attention, maximum 8 chars
#define ExtraSensor1_Name ""
#define ExtraSensor2_Name "LagoAgua"
#define ExtraSensor3_Name "Alpendre"
#define ExtraSensor4_Name "Main Out"
#define ExtraSensor5_Name "1-Wire 0"
#define ExtraSensor6_Name "Dust TH "
#define ExtraSensor7_Name ""
// ---- Define personalized names for each Soil and Leaf Sensor. Attention, maximum 8 chars
#define SoilSensor1_Name "Solo Frt"
#define SoilSensor2_Name ""
#define SoilSensor3_Name ""
#define SoilSensor4_Name "LagoAgua"
#define LeafSensor1_Name "Folhas "
#define LeafSensor2_Name ""
#define LeafSensor3_Name ""
#define LeafSensor4_Name ""
// --------------------------------------------------------------------------------------
// Define display order of data screens on the TFT
// Use numbers from 1 to 4. Use 9 to prevent a particular data screen to be shown
// --------------------------------------------------------------------------------------
#define ExtraSensors_Data 9
#define SoilLeaf_Data 9
#define AirQuality_Data 1
#define TXinfo_Data 2
// --------------------------------------------------------------------------------------
// Hardware settings
// --------------------------------------------------------------------------------------
// SHT31 I2c Address
// Default address will work most of the times!
#define SHT31_address 0x45 // Default value is 0x44, but some brands use address 0x45
// ---------------------------------------------------------------------------------------------------
// End of user configurable options
// ---------------------------------------------------------------------------------------------------

