Skip to content

Commit f1a494f

Browse files
committed
Cleanup comments
1 parent 2f87b61 commit f1a494f

File tree

1 file changed

+10
-24
lines changed

1 file changed

+10
-24
lines changed

wled00/bus_manager.cpp

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -526,34 +526,16 @@ BusHub75Matrix::BusHub75Matrix(BusConfig &bc) : Bus(bc.type, bc.start, bc.autoWh
526526

527527
#elif defined(ESP32_FORUM_PINOUT) // Common format for boards designed for SmartMatrix
528528

529-
/*
529+
USER_PRINTLN("MatrixPanel_I2S_DMA - ESP32_FORUM_PINOUT");
530530

531+
/*
531532
ESP32 with SmartMatrix's default pinout - ESP32_FORUM_PINOUT
532533
533534
https://github.com/pixelmatix/SmartMatrix/blob/teensylc/src/MatrixHardware_ESP32_V0.h
534535
535536
Can use a board like https://github.com/rorosaurus/esp32-hub75-driver
536-
537-
#define R1_PIN GPIO_NUM_2
538-
#define G1_PIN GPIO_NUM_15
539-
#define B1_PIN GPIO_NUM_4
540-
#define R2_PIN GPIO_NUM_16
541-
#define G2_PIN GPIO_NUM_27
542-
#define B2_PIN GPIO_NUM_17
543-
544-
#define A_PIN GPIO_NUM_5
545-
#define B_PIN GPIO_NUM_18
546-
#define C_PIN GPIO_NUM_19
547-
#define D_PIN GPIO_NUM_21
548-
#define E_PIN GPIO_NUM_12
549-
#define LAT_PIN GPIO_NUM_26
550-
#define OE_PIN GPIO_NUM_25
551-
552-
#define CLK_PIN GPIO_NUM_22
553537
*/
554538

555-
USER_PRINTLN("MatrixPanel_I2S_DMA - ESP32 config");
556-
557539
mxconfig.gpio.r1 = 2;
558540
mxconfig.gpio.g1 = 15;
559541
mxconfig.gpio.b1 = 4;
@@ -572,12 +554,16 @@ BusHub75Matrix::BusHub75Matrix(BusConfig &bc) : Bus(bc.type, bc.start, bc.autoWh
572554
mxconfig.gpio.e = 12;
573555

574556
#else
575-
// https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA?tab=readme-ov-file
557+
USER_PRINTLN("MatrixPanel_I2S_DMA - Default pins");
558+
/*
559+
https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA?tab=readme-ov-file
576560
577-
// Boards
578-
// https://esp32trinity.com/
579-
// https://www.electrodragon.com/product/rgb-matrix-panel-drive-interface-board-for-esp32-dma/
561+
Boards
580562
563+
https://esp32trinity.com/
564+
https://www.electrodragon.com/product/rgb-matrix-panel-drive-interface-board-for-esp32-dma/
565+
566+
*/
581567
mxconfig.gpio.r1 = 25;
582568
mxconfig.gpio.g1 = 26;
583569
mxconfig.gpio.b1 = 27;

0 commit comments

Comments
 (0)