From dd1b96374c4711dbd07072c94c2cab47bf1a14c9 Mon Sep 17 00:00:00 2001 From: Empire Date: Sat, 12 Dec 2020 17:26:18 +0100 Subject: [PATCH] fixed pin assignements for new revision --- esp32/include/ControllerConfiguration.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/esp32/include/ControllerConfiguration.h b/esp32/include/ControllerConfiguration.h index 8714a24..30b4b1b 100644 --- a/esp32/include/ControllerConfiguration.h +++ b/esp32/include/ControllerConfiguration.h @@ -59,21 +59,21 @@ #define SENSOR_LIPO 34 /**< GPIO 34 (ADC1) */ #define SENSOR_SOLAR 35 /**< GPIO 35 (ADC1) */ -#define SENSOR_PLANT0 32 /**< GPIO 32 (ADC1) */ -#define SENSOR_PLANT1 33 /**< GPIO 33 (ADC1) */ -#define SENSOR_PLANT2 25 /**< GPIO 25 (ADC2) */ +#define SENSOR_PLANT0 12 /**< GPIO 32 (ADC1) */ +#define SENSOR_PLANT1 14/**< GPIO 33 (ADC1) */ +#define SENSOR_PLANT2 27 /**< GPIO 25 (ADC2) */ #define SENSOR_PLANT3 26 /**< GPIO 26 (ADC2) */ -#define SENSOR_PLANT4 27 /**< GPIO 27 (ADC2) */ +#define SENSOR_PLANT4 25 /**< GPIO 27 (ADC2) */ #define SENSOR_PLANT5 14 /**< GPIO 14 (ADC2) */ #define SENSOR_PLANT6 12 /**< GPIO 12 (ADC2) */ -#define OUTPUT_PUMP0 23 /**< GPIO 23 */ -#define OUTPUT_PUMP1 22 /**< GPIO 22 */ -#define OUTPUT_PUMP2 21 /**< GPIO 21 */ +#define OUTPUT_PUMP0 15 /**< GPIO 23 */ +#define OUTPUT_PUMP1 5 /**< GPIO 22 */ +#define OUTPUT_PUMP2 18 /**< GPIO 21 */ #define OUTPUT_PUMP3 19 /**< GPIO 19 */ -#define OUTPUT_PUMP4 18 /**< GPIO 18 */ -#define OUTPUT_PUMP5 5 /**< GPIO 5 */ -#define OUTPUT_PUMP6 15 /**< GPIO 15 */ +#define OUTPUT_PUMP4 21 /**< GPIO 18 */ +#define OUTPUT_PUMP5 22 /**< GPIO 5 */ +#define OUTPUT_PUMP6 23 /**< GPIO 15 */ #define OUTPUT_SENSOR 16 /**< GPIO 16 - Enable Sensors */ #define OUTPUT_PUMP 13 /**< GPIO 13 - Enable Pumps */