From 21b18224b1e73aac8aec1e0c28e5258322b5e87e Mon Sep 17 00:00:00 2001 From: Sascha Date: Sun, 3 Jul 2022 08:23:19 +0200 Subject: [PATCH] Create FDRS_datatypes.h in FDRS_install directory. --- FDRS_Install/FDRS_datatypes.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 FDRS_Install/FDRS_datatypes.h diff --git a/FDRS_Install/FDRS_datatypes.h b/FDRS_Install/FDRS_datatypes.h new file mode 100644 index 0000000..fe8250c --- /dev/null +++ b/FDRS_Install/FDRS_datatypes.h @@ -0,0 +1,33 @@ +// A list of all datatypes you can use within FDRS. +// If you are missing any data type, please open an issue at: +// https://github.com/timmbogner/Farm-Data-Relay-System/issues + +#ifndef FDRS_DATA_TYPES +#define FDRS_DATA_TYPES + +#define STATUS_T 0 // Status +#define TEMP_T 1 // Temperature +#define TEMP2_T 2 // Temperature #2 +#define HUMIDITY_T 3 // Relative Humidity +#define PRESSURE_T 4 // Atmospheric Pressure +#define LIGHT_T 5 // Light (lux) +#define SOIL_T 6 // Soil Moisture +#define SOIL2_T 7 // Soil Moisture #2 +#define SOILR_T 8 // Soil Resistance +#define SOILR2_T 9 // Soil Resistance #2 +#define OXYGEN_T 10 // Oxygen +#define CO2_T 11 // Carbon Dioxide +#define WINDSPD_T 12 // Wind Speed +#define WINDHDG_T 13 // Wind Direction +#define RAINFALL_T 14 // Rainfall +#define MOTION_T 15 // Motion +#define VOLTAGE_T 16 // Voltage +#define VOLTAGE2_T 17 // Voltage #2 +#define CURRENT_T 18 // Current +#define CURRENT2_T 19 // Current #2 +#define IT_T 20 // Iterations +#define LATITUDE_T 21 // GPS Latitude +#define LONGITUDE_T 22 // GPS Longitude +#define ALTITUDE_T 23 // GPS Altitude + +#endif \ No newline at end of file