switched to mqtt, added class valve

This commit is contained in:
2023-04-13 18:09:26 +02:00
parent 0f7feae8a8
commit 08f14424af
8 changed files with 205 additions and 108 deletions
+5 -2
View File
@@ -3,7 +3,7 @@
#define PRESSURE_PIN A7
#define BUTTON_PIN A6
#define SROE_PIN A3
#define STATUS_LED_1_PIN A0
#define STATUS_LED_1_PIN A0 // Error pump
#define DISPLAY_ACTIVE_PIN 9
#define STATUS_LED_2_PIN 8
#define SRSER_PIN 7
@@ -11,4 +11,7 @@
#define RCLK_PIN 5
#define SSR_PIN 4
#define INT_ETH_PIN 3
#define INT_HALL_PIN 2
#define INT_HALL_PIN 2
#define VALVE_COUNT 12
const uint8_t valvePins[VALVE_COUNT] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11};