From: Lukáš Jiřiště Date: Mon, 11 Nov 2024 15:59:09 +0000 (+0100) Subject: Name the pins to make it easier to understand X-Git-Url: https://git.ljiriste.work/?a=commitdiff_plain;h=18c58dd46b8bda0bce118b8a0fdb90394a770656;p=Servomatic.git Name the pins to make it easier to understand --- 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();