GPIO12 is evil

This commit is contained in:
c3ma 2021-05-16 22:24:14 +02:00
parent 3fffd41bcd
commit c7d98ef108
2 changed files with 4 additions and 4 deletions

View File

@ -2207,9 +2207,9 @@ Wire Wire Line
9800 5750 10100 5750 9800 5750 10100 5750
Wire Wire Line Wire Wire Line
9800 5450 9800 5350 9800 5450 9800 5350
Text GLabel 11400 6350 2 50 Input ~ 0
Temp
Text GLabel 11400 6150 2 50 Input ~ 0 Text GLabel 11400 6150 2 50 Input ~ 0
Temp
Text GLabel 11400 6350 2 50 Input ~ 0
CUSTOM_GPIO1 CUSTOM_GPIO1
Text GLabel 11400 6250 2 50 Input ~ 0 Text GLabel 11400 6250 2 50 Input ~ 0
PLANT_CTRL_PUMP_1 PLANT_CTRL_PUMP_1

View File

@ -65,12 +65,12 @@
#define OUTPUT_ENABLE_SENSOR 14 /**< GPIO 14 - Enable Sensors */ #define OUTPUT_ENABLE_SENSOR 14 /**< GPIO 14 - Enable Sensors */
#define OUTPUT_ENABLE_PUMP 13 /**< GPIO 13 - Enable Pumps */ #define OUTPUT_ENABLE_PUMP 13 /**< GPIO 13 - Enable Pumps */
#define SENSOR_ONEWIRE 12 /**< GPIO 12 - Temperatur sensor, Battery and other cool onewire stuff */ #define SENSOR_ONEWIRE 4 /**< GPIO 12 - Temperatur sensor, Battery and other cool onewire stuff */
#define SENSOR_TANK_ECHO 16 /**< GPIO 16 - echo feedback of water sensor */ #define SENSOR_TANK_ECHO 16 /**< GPIO 16 - echo feedback of water sensor */
#define SENSOR_TANK_TRG 17 /**< GPIO 17 - trigger for water sensor */ #define SENSOR_TANK_TRG 17 /**< GPIO 17 - trigger for water sensor */
#define BUTTON 0 /**< GPIO 0 - Fix button of NodeMCU */ #define BUTTON 0 /**< GPIO 0 - Fix button of NodeMCU */
#define CUSTOM1_PIN3 2 /**< GPIO 2 - Custom GPIO controlling a MOSFET, connected to GND */ #define CUSTOM1_PIN3 2 /**< GPIO 2 - Custom GPIO controlling a MOSFET, connected to GND */
#define CUSTOM1_PIN2 4 /**< GPIO 4 - custom GPIO directly connected to GPIO header */ #define CUSTOM1_PIN2 12 /**< GPIO 4 - custom GPIO directly connected to GPIO header */
#define I2C1_PIN2 34 /**< GPIO 34 - I2C */ #define I2C1_PIN2 34 /**< GPIO 34 - I2C */
#define I2C1_PIN3 35 /**< GPIO 35 - I2C */ #define I2C1_PIN3 35 /**< GPIO 35 - I2C */
/* @} */ /* @} */