summaryrefslogtreecommitdiffstats
path: root/include/pinDefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pinDefs.h')
-rw-r--r--include/pinDefs.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/pinDefs.h b/include/pinDefs.h
new file mode 100644
index 0000000..25d951c
--- /dev/null
+++ b/include/pinDefs.h
@@ -0,0 +1,31 @@
1
2
3#pragma once
4
5const int BUTTON_PIN_1 = 0;
6const int BUTTON_PIN_2 = 26;
7const int BUTTON_PIN_3 = 25;
8
9const int PIN_WS2812 = 22;
10
11
12
13
14const int DATA_PIN = 13;
15const int CLOCK_PIN = 22;
16const int LATCH_PIN = 23;
17const int OE_PIN = 19;
18
19const int ROW1_PIN = 15;
20const int ROW2_PIN = 17;
21const int ROW3_PIN = 0;
22const int ROW4_PIN = 16;
23const int ROW5_PIN = 4;
24const int ROW6_PIN = 12;
25const int ROW7_PIN = 18;
26const int ROW8_PIN = 5;
27
28const int ROW_PINS[8] = {
29 ROW1_PIN, ROW2_PIN, ROW3_PIN, ROW4_PIN,
30 ROW5_PIN, ROW6_PIN, ROW7_PIN, ROW8_PIN
31}; \ No newline at end of file