aboutsummaryrefslogtreecommitdiff
path: root/src/platforms/esp32s2
diff options
context:
space:
mode:
Diffstat (limited to 'src/platforms/esp32s2')
-rw-r--r--src/platforms/esp32s2/esp32s2-default-pins.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/platforms/esp32s2/esp32s2-default-pins.hpp b/src/platforms/esp32s2/esp32s2-default-pins.hpp
new file mode 100644
index 0000000..202b1c5
--- /dev/null
+++ b/src/platforms/esp32s2/esp32s2-default-pins.hpp
@@ -0,0 +1,16 @@
+#pragma once
+
+#define R1_PIN_DEFAULT 45
+#define G1_PIN_DEFAULT 42
+#define B1_PIN_DEFAULT 41
+#define R2_PIN_DEFAULT 40
+#define G2_PIN_DEFAULT 39
+#define B2_PIN_DEFAULT 38
+#define A_PIN_DEFAULT 37
+#define B_PIN_DEFAULT 36
+#define C_PIN_DEFAULT 35
+#define D_PIN_DEFAULT 34
+#define E_PIN_DEFAULT -1 // required for 1/32 scan panels, like 64x64. Any available pin would do, i.e. IO32
+#define LAT_PIN_DEFAULT 26
+#define OE_PIN_DEFAULT 21
+#define CLK_PIN_DEFAULT 33