This tutorial is part of: ESP32-S3 RGB LED Matrix
Cool project to create for fun and practical applications using ESP32-S3 RGB Matrix module. Links to other videos are below this article.
ESP32-S3 RGB LED Matrix test for RGB, GRB setting



This tutorial is part of: ESP32-S3 RGB LED Matrix
- ESP32-S3 RGB LED Matrix Project 1- Basic Dot
- ESP32-S3 RGB LED Matrix Project 2 - Scrolling Text
- ESP32-S3 RGB LED Matrix Project 3 - Text from mobile phone
- ESP32-S3 RGB LED Matrix Project 4 - Tilt dot
- ESP32-S3 RGB LED Matrix Project 5 - Arrow always up
- ESP32-S3 RGB LED Matrix Project 6 - Cible game
- ESP32-S3 RGB LED Matrix Wi-Fi + NTP Time Clock Project -1 Basic Clock
- ESP32-S3 RGB LED Matrix Internet Clock Project - 2 Clock multi color Time & Date Display
- ESP32-S3 RGB LED Matrix Internet Clock Project - 3 Night Color with Date
- ESP32-S3 RGB LED Matrix Internet Clock Project - 5 Rainbow color
- ESP32-S3 RGB LED Matrix Internet Clock Project - 4 Random color
871-ESP32-S3 RGB LED Matrix test for RGB, GRB setting
Language: C++
/*
* =====================================================================================
* 8x8 RGB MATRIX - COLOR ORDER TESTER
📚⬇️ Download and resource page https://robojax.com/RJT841
Full youTube video: https://youtu.be/XEZLyznWmYM
* =====================================================================================
* This script helps you verify if your matrix matches the 'NEO_RGB' setting.
* - Displays 'R' in Red
* - Displays 'G' in Green
* - Displays 'B' in Blue
* * If 'R' shows up as Green or Blue, you need to change the configuration line:
* e.g., NEO_GRB + NEO_KHZ800 OR NEO_RGB + NEO_KHZ800
* =====================================================================================
*/
#include <Adafruit_GFX.h>
#include <Adafruit_NeoMatrix.h>
#include <Adafruit_NeoPixel.h>
#define MATRIX_PIN 14
// --- USER SETTINGS ---
const int TEST_DELAY = 2000; // Time in milliseconds between colors
const int TEST_BRIGHTNESS = 30; // Set brightness (0 to 255)
// Define the matrix - change NEO_RGB to NEO_GRB if colors are swapped
Adafruit_NeoMatrix matrix(8, 8, MATRIX_PIN,
NEO_MATRIX_TOP + NEO_MATRIX_LEFT +
NEO_MATRIX_ROWS + NEO_MATRIX_PROGRESSIVE,
NEO_RGB + NEO_KHZ800);
void setup() {
matrix.begin();
matrix.setTextWrap(false);
matrix.setBrightness(TEST_BRIGHTNESS);
}
void loop() {
// 1. TEST RED
matrix.fillScreen(0);
matrix.setTextColor(matrix.Color(255, 0, 0)); // Red
matrix.setCursor(1, 0);
matrix.print("R");
matrix.show();
delay(TEST_DELAY);
// 2. TEST GREEN
matrix.fillScreen(0);
matrix.setTextColor(matrix.Color(0, 255, 0)); // Green
matrix.setCursor(1, 0);
matrix.print("G");
matrix.show();
delay(TEST_DELAY);
// 3. TEST BLUE
matrix.fillScreen(0);
matrix.setTextColor(matrix.Color(0, 0, 255)); // Blue
matrix.setCursor(1, 0);
matrix.print("B");
matrix.show();
delay(TEST_DELAY);
}
Things you might need
-
Amazon
-
eBay
-
AliExpressPurchase ESP32-S3 RGB Matrix from AliExpresss.click.aliexpress.com
-
AliExpressPurchase ESP32-S3 RGB Matrix from AliExpress (2)s.click.aliexpress.com
Resources & references
-
Internal🎨 Color picker Toolrobojax.com
Files📁
Fritzing File
-
esp32-S3-supermini-tht fritzing part
esp32-S3-supermini-tht.fzpz0.02 MB