summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCritBit <Jakub.Sadowski1@gmail.com>2023-12-27 20:05:29 +0100
committerCritBit <Jakub.Sadowski1@gmail.com>2023-12-27 20:05:29 +0100
commit0eff9f2547b1b3cf6a1da93544fee092293df02c (patch)
tree7dd0ec881ea743acfb41d7f39660277c22909e07 /include
downloadcyberbadge_esp_shifters_lib-0eff9f2547b1b3cf6a1da93544fee092293df02c.tar.gz
cyberbadge_esp_shifters_lib-0eff9f2547b1b3cf6a1da93544fee092293df02c.zip
move to separate repo
Diffstat (limited to 'include')
-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