From 0c4d5ab0f32b65f3f78b428c1398dcfc93570e8a Mon Sep 17 00:00:00 2001 From: Will Tatam Date: Sat, 10 Feb 2024 14:05:37 +0000 Subject: [PATCH] Update comments --- wled00/bus_manager.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/wled00/bus_manager.cpp b/wled00/bus_manager.cpp index 5d1f3c63..d9043136 100644 --- a/wled00/bus_manager.cpp +++ b/wled00/bus_manager.cpp @@ -482,17 +482,11 @@ BusHub75Matrix::BusHub75Matrix(BusConfig &bc) : Bus(bc.type, bc.start, bc.autoWh // mxconfig.driver = HUB75_I2S_CFG::SHIFTREG; - /* - Matrix SS Portal - uint8_t rgbPins[] = {42, 41, 40, 38, 39, 37}; -uint8_t addrPins[] = {45, 36, 48, 35, 21}; -uint8_t clockPin = 2; -uint8_t latchPin = 47; -uint8_t oePin = 14; -*/ #if defined(ARDUINO_ADAFRUIT_MATRIXPORTAL_ESP32S3) // MatrixPortal ESP32-S3 - USER_PRINTLN("MatrixPanel_I2S_DMA - Martrix Poral S3 config"); + // https://www.adafruit.com/product/5778 + + USER_PRINTLN("MatrixPanel_I2S_DMA - Matrix Portal S3 config"); mxconfig.gpio.r1 = 42; mxconfig.gpio.g1 = 41; @@ -514,6 +508,13 @@ uint8_t oePin = 14; #else /* + + ESP32 with SmartMatrix's default pinout - ESP32_FORUM_PINOUT + + https://github.com/pixelmatix/SmartMatrix/blob/teensylc/src/MatrixHardware_ESP32_V0.h + + Can use a board like https://github.com/rorosaurus/esp32-hub75-driver + #define R1_PIN GPIO_NUM_2 #define G1_PIN GPIO_NUM_15 #define B1_PIN GPIO_NUM_4