HD-WF1 pinout
This commit is contained in:
@@ -613,6 +613,30 @@ BusHub75Matrix::BusHub75Matrix(BusConfig &bc) : Bus(bc.type, bc.start, bc.autoWh
|
||||
mxconfig.gpio.d = 36;
|
||||
mxconfig.gpio.e = 21;
|
||||
|
||||
#elif defined(CONFIG_IDF_TARGET_ESP32S2) // ESP32-S2
|
||||
|
||||
// Huidu HD-WF1 ESP32-S2
|
||||
// https://github.com/mrcodetastic/ESP32-HUB75-MatrixPanel-DMA/issues/433
|
||||
|
||||
USER_PRINTLN("MatrixPanel_I2S_DMA - HD-WF1 S2 config");
|
||||
|
||||
mxconfig.gpio.r1 = 2;
|
||||
mxconfig.gpio.g1 = 6;
|
||||
mxconfig.gpio.b1 = 3;
|
||||
mxconfig.gpio.r2 = 4;
|
||||
mxconfig.gpio.g2 = 8;
|
||||
mxconfig.gpio.b2 = 5;
|
||||
|
||||
mxconfig.gpio.lat = 33;
|
||||
mxconfig.gpio.oe = 35;
|
||||
mxconfig.gpio.clk = 34;
|
||||
|
||||
mxconfig.gpio.a = 39;
|
||||
mxconfig.gpio.b = 38;
|
||||
mxconfig.gpio.c = 37;
|
||||
mxconfig.gpio.d = 36;
|
||||
mxconfig.gpio.e = 12;
|
||||
|
||||
#elif defined(ESP32_FORUM_PINOUT) // Common format for boards designed for SmartMatrix
|
||||
|
||||
USER_PRINTLN("MatrixPanel_I2S_DMA - ESP32_FORUM_PINOUT");
|
||||
|
||||
Reference in New Issue
Block a user