This tutorial is part of: ESP32-S3 RGB LED 点阵
这是一个很棒的项目,可以使用 ESP32-S3 RGB 矩阵模块进行创作,兼具趣味性和实用性。本文下方有其他相关视频的链接。
ESP32-S3 RGB LED Matrix test for RGB, GRB setting



This tutorial is part of: ESP32-S3 RGB LED 点阵
- ESP32-S3 RGB LED矩陣項目1-基本點
- ESP32-S3 RGB LED矩陣項目2 - 滾動文字
- ESP32-S3 RGB LED矩陣項目3 - 手機文字
- ESP32-S3 RGB LED矩陣項目 4 - 傾斜點
- ESP32-S3 RGB LED矩陣項目5 - 箭嘴永遠向上
- ESP32-S3 RGB LED矩陣項目6 - Cible遊戲
- ESP32-S3 RGB LED矩陣 Wi-Fi + NTP時鐘項目 -1 基本時鐘
- ESP32-S3 RGB LED矩陣網絡時鐘項目 - 2個時鐘多色時間及日期顯示
- ESP32-S3 RGB LED矩陣互聯網時鐘項目 - 3種夜間顏色連日期
- ESP32-S3 RGB LED矩陣網絡時鐘項目 - 5 彩虹色
- ESP32-S3 RGB LED矩陣網絡時鐘項目 - 4種隨機顏色
871-ESP32-S3 RGB LED Matrix test for RGB, GRB setting
語言: 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);
}
你可能需要嘅嘢
-
亞馬遜
-
易贝
-
阿里巴巴速卖通Purchase ESP32-S3 RGB Matrix from AliExpresss.click.aliexpress.com
-
阿里巴巴速卖通Purchase ESP32-S3 RGB Matrix from AliExpress (2)s.click.aliexpress.com
資源與參考資料
-
內部🎨 Color picker Toolrobojax.com
文件📁
Fritzing 文件
-
esp32-S3-supermini-tht fritzing part
esp32-S3-supermini-tht.fzpz0.02 MB