diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/pinDefs.h | 31 |
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 | |||
5 | const int BUTTON_PIN_1 = 0; | ||
6 | const int BUTTON_PIN_2 = 26; | ||
7 | const int BUTTON_PIN_3 = 25; | ||
8 | |||
9 | const int PIN_WS2812 = 22; | ||
10 | |||
11 | |||
12 | |||
13 | |||
14 | const int DATA_PIN = 13; | ||
15 | const int CLOCK_PIN = 22; | ||
16 | const int LATCH_PIN = 23; | ||
17 | const int OE_PIN = 19; | ||
18 | |||
19 | const int ROW1_PIN = 15; | ||
20 | const int ROW2_PIN = 17; | ||
21 | const int ROW3_PIN = 0; | ||
22 | const int ROW4_PIN = 16; | ||
23 | const int ROW5_PIN = 4; | ||
24 | const int ROW6_PIN = 12; | ||
25 | const int ROW7_PIN = 18; | ||
26 | const int ROW8_PIN = 5; | ||
27 | |||
28 | const 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 | ||