From 0eff9f2547b1b3cf6a1da93544fee092293df02c Mon Sep 17 00:00:00 2001 From: CritBit Date: Wed, 27 Dec 2023 20:05:29 +0100 Subject: move to separate repo --- include/pinDefs.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 include/pinDefs.h (limited to 'include') 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 @@ + + +#pragma once + +const int BUTTON_PIN_1 = 0; +const int BUTTON_PIN_2 = 26; +const int BUTTON_PIN_3 = 25; + +const int PIN_WS2812 = 22; + + + + +const int DATA_PIN = 13; +const int CLOCK_PIN = 22; +const int LATCH_PIN = 23; +const int OE_PIN = 19; + +const int ROW1_PIN = 15; +const int ROW2_PIN = 17; +const int ROW3_PIN = 0; +const int ROW4_PIN = 16; +const int ROW5_PIN = 4; +const int ROW6_PIN = 12; +const int ROW7_PIN = 18; +const int ROW8_PIN = 5; + +const int ROW_PINS[8] = { + ROW1_PIN, ROW2_PIN, ROW3_PIN, ROW4_PIN, + ROW5_PIN, ROW6_PIN, ROW7_PIN, ROW8_PIN +}; \ No newline at end of file -- cgit v1.2.3