HomeWaterLeaksDetection
Pins.h File Reference
#include "Setup.h"

Go to the source code of this file.

Macros

#define SENSOR_PIN   2
 the flow sensor More...
 
#define VALVE_PIN   8
 main valve
More...
 
#define VALVE_LED_PIN   9
 main valve LED More...
 
#define VALVE_MANUAL_CLOSE_PIN   23
 "manual close" button More...
 
#define RESET_PIN   26
 reset button More...
 
#define HOME_ALARM_PIN   24
 home alarm More...
 
#define HIGH_BYPASS_PIN   49
 high-water leak bypass button More...
 
#define HIGH_ILOCK_LED_PIN   48
 high-water leak LED (detected = on) More...
 
#define LOW_BYPASS_PIN   47
 low-water leak bypass button More...
 
#define LOW_ILOCK_LED_PIN   46
 low-water leak LED (detected = on) More...
 
#define TOTAL_BYPASS_PIN   45
 total-water leak bypass button More...
 
#define TOTAL_ILOCK_LED_PIN   44
 total-water leak bypass button More...
 
#define CONFIG_PINS
 

Macro Definition Documentation

◆ CONFIG_PINS

#define CONFIG_PINS
Value:
pinMode(SENSOR_PIN, INPUT); \
pinMode(HIGH_BYPASS_PIN, INPUT); \
pinMode(LOW_BYPASS_PIN, INPUT); \
pinMode(RESET_PIN, INPUT); \
pinMode(TOTAL_BYPASS_PIN, INPUT); \
pinMode(HOME_ALARM_PIN, INPUT); \
pinMode(VALVE_PIN, OUTPUT); \
pinMode(VALVE_MANUAL_CLOSE_PIN, INPUT); \
pinMode(HIGH_ILOCK_LED_PIN, OUTPUT); \
pinMode(LOW_ILOCK_LED_PIN, OUTPUT); \
pinMode(TOTAL_ILOCK_LED_PIN, OUTPUT); \
pinMode(VALVE_LED_PIN, OUTPUT); \
digitalWrite(VALVE_PIN, HIGH);

Definition at line 38 of file Pins.h.

◆ HIGH_BYPASS_PIN

#define HIGH_BYPASS_PIN   49

high-water leak bypass button

Definition at line 26 of file Pins.h.

◆ HIGH_ILOCK_LED_PIN

#define HIGH_ILOCK_LED_PIN   48

high-water leak LED (detected = on)

Definition at line 27 of file Pins.h.

◆ HOME_ALARM_PIN

#define HOME_ALARM_PIN   24

home alarm

Definition at line 23 of file Pins.h.

◆ LOW_BYPASS_PIN

#define LOW_BYPASS_PIN   47

low-water leak bypass button

Definition at line 30 of file Pins.h.

◆ LOW_ILOCK_LED_PIN

#define LOW_ILOCK_LED_PIN   46

low-water leak LED (detected = on)

Definition at line 31 of file Pins.h.

◆ RESET_PIN

#define RESET_PIN   26

reset button

Definition at line 20 of file Pins.h.

◆ SENSOR_PIN

#define SENSOR_PIN   2

the flow sensor

Definition at line 11 of file Pins.h.

◆ TOTAL_BYPASS_PIN

#define TOTAL_BYPASS_PIN   45

total-water leak bypass button

Definition at line 34 of file Pins.h.

◆ TOTAL_ILOCK_LED_PIN

#define TOTAL_ILOCK_LED_PIN   44

total-water leak bypass button

Definition at line 35 of file Pins.h.

◆ VALVE_LED_PIN

#define VALVE_LED_PIN   9

main valve LED

Definition at line 16 of file Pins.h.

◆ VALVE_MANUAL_CLOSE_PIN

#define VALVE_MANUAL_CLOSE_PIN   23

"manual close" button

Definition at line 19 of file Pins.h.

◆ VALVE_PIN

#define VALVE_PIN   8

main valve

Definition at line 15 of file Pins.h.

LOW_ILOCK_LED_PIN
#define LOW_ILOCK_LED_PIN
low-water leak LED (detected = on)
Definition: Pins.h:30
HOME_ALARM_PIN
#define HOME_ALARM_PIN
home alarm
Definition: Pins.h:22
HIGH_BYPASS_PIN
#define HIGH_BYPASS_PIN
high-water leak bypass button
Definition: Pins.h:25
TOTAL_ILOCK_LED_PIN
#define TOTAL_ILOCK_LED_PIN
total-water leak bypass button
Definition: Pins.h:34
HIGH_ILOCK_LED_PIN
#define HIGH_ILOCK_LED_PIN
high-water leak LED (detected = on)
Definition: Pins.h:26
VALVE_MANUAL_CLOSE_PIN
#define VALVE_MANUAL_CLOSE_PIN
"manual close" button
Definition: Pins.h:18
LOW_BYPASS_PIN
#define LOW_BYPASS_PIN
low-water leak bypass button
Definition: Pins.h:29
VALVE_PIN
#define VALVE_PIN
main valve
Definition: Pins.h:14
VALVE_LED_PIN
#define VALVE_LED_PIN
main valve LED
Definition: Pins.h:15
RESET_PIN
#define RESET_PIN
reset button
Definition: Pins.h:19
TOTAL_BYPASS_PIN
#define TOTAL_BYPASS_PIN
total-water leak bypass button
Definition: Pins.h:33
SENSOR_PIN
#define SENSOR_PIN
the flow sensor
Definition: Pins.h:10