Files
Bewaesserung-Arduino/include/config.h
T
2023-07-07 07:09:04 +02:00

20 lines
512 B
C

#pragma once
#define PRESSURE_PIN A7
#define BUTTON_PIN A6
#define SROE_PIN A3
#define SRCLR_PIN A2
#define STATUS_LED_1_PIN A0 // Error pump
#define DISPLAY_ACTIVE_PIN 9
#define STATUS_LED_2_PIN 8
#define SRSER_PIN 7
#define SRCLK_PIN 6
#define RCLK_PIN 5
#define SSR_PIN 4
#define INT_ETH_PIN 3
#define INT_HALL_PIN 2
#define VALVE_COUNT 12
#define MAX_VALVE_OPEN 3
const uint8_t valvePins[VALVE_COUNT] = {1, 2, 5, 6, 7, 9, 10, 12, 13, 14, 15};
const char mainTopic[] = "LebennigHuus/Garden/Irrigation/Main";