From ebe75dcaba0239d225243cdedd31aaf860abbd0a Mon Sep 17 00:00:00 2001 From: mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> Date: Fri, 30 Sep 2022 03:17:19 +0100 Subject: Update to include S3 support. Refactor tonnes of code. Double buffering not yet fully tested. PSRAM support doesn't work at all - garbled mess. Enable in platformIO using: build_flags = -DSPIRAM_FRAMEBUFFER=1 --- src/platforms/esp32s2/esp32s2-default-pins.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/platforms/esp32s2/esp32s2-default-pins.hpp (limited to 'src/platforms/esp32s2') 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 -- cgit v1.3.1