4#include "Render/Camera.h"
7#include <ESP32-VirtualMatrixPanel-I2S-DMA.h>
16#define PANEL_CHAIN NUM_ROWS*NUM_COLS
50 HUB75_I2S_CFG mxconfig(
64 Serial.println(
"****** I2S memory allocation failed ***********");
76 for (uint16_t y = 0; y < 32; y++) {
77 for (uint16_t x = 0; x < 64; x++){
78 uint16_t pixelNum = y * 64 + x;
84 for (uint16_t y = 0; y < 32; y++) {
85 for (uint16_t x = 0; x < 64; x++){
86 uint16_t pixelNum = y * 64 + x;
Declares the Controller base class for managing lighting controllers.
VirtualMatrixPanel * virtualDisp
MatrixPanel_I2S_DMA * dma_display
Manages camera behavior and pixel groups.
Base class for managing brightness and display operations of lighting controllers.
uint8_t brightness
Current brightness level.
uint8_t maxBrightness
Maximum allowed brightness level.
void Initialize() override
Initializes the controller.
void Display() override
Updates and displays content on the lighting system.
ESP32DevKitV1(uint8_t maxBrightness)
Manages a collection of pixels with positions, colors, and spatial relationships.
RGBColor * GetColor(uint16_t count) override
Retrieves the color of a specific pixel.
uint8_t B
Blue component of the color (0-255).
uint8_t G
Green component of the color (0-255).
uint8_t R
Red component of the color (0-255).
Represents a 2D vector (X, Y) and provides methods for vector arithmetic.
Represents a 3D vector (X, Y, Z) and provides methods for vector arithmetic.