From 18c58dd46b8bda0bce118b8a0fdb90394a770656 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Luk=C3=A1=C5=A1=20Ji=C5=99i=C5=A1t=C4=9B?= Date: Mon, 11 Nov 2024 16:59:09 +0100 Subject: [PATCH] Name the pins to make it easier to understand --- Servomatic.ino | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Servomatic.ino b/Servomatic.ino index f69b092..c33f361 100644 --- a/Servomatic.ino +++ b/Servomatic.ino @@ -1,6 +1,16 @@ #include "PressureSensor.h" #include "Valve.h" +static const int PRESSURE_SENSOR1_PIN = A1; +static const int PRESSURE_SENSOR2_PIN = A2; +static const int PRESSURE_SENSOR3_PIN = A3; + +static const int SWITCH_PIN = 8; + +static const int VALVE_THREEWAY_PIN = 9; +static const int VALVE_CELL_PIN = 10; +static const int VALVE_PRESSURE_SENSOR_PIN = 11; + int main() { init(); -- 2.30.2