projects
/
Servomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79bb320
)
Name the pins to make it easier to understand
author
Lukáš Jiřiště
<jiriste@icpf.cas.cz>
Mon, 11 Nov 2024 15:59:09 +0000
(16:59 +0100)
committer
Lukáš Jiřiště
<jiriste@icpf.cas.cz>
Mon, 11 Nov 2024 15:59:09 +0000
(16:59 +0100)
Servomatic.ino
patch
|
blob
|
history
diff --git
a/Servomatic.ino
b/Servomatic.ino
index f69b09251919878a259a69ecc732526932e49e13..c33f3614b16426d71280e70ec5b1853931c30e6c 100644
(file)
--- 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();