-
Notifications
You must be signed in to change notification settings - Fork 262
P8 32x16 #763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please add the line
after
and show the video Note: this is not a solution, just another test. |
C:\Users\LENOVO\Downloads\fix\fix\fix.ino:57:16: error: 'class VirtualMatrixPanel' has no member named 'setPixelBase' exit status 1 Compilation error: 'class VirtualMatrixPanel' has no member named 'setPixelBase' sorry some error |
You need to update library to the last commit. |
sorry sir i really stumble using new library |
/* Use a custom Virtual Display class to re-map co-ordinates such that they draw /* ================================================== */ protected:
}; inline VirtualCoords EightPxBasePanel ::getCoords(int16_t x, int16_t y) { coords = VirtualMatrixPanel::getCoords(x, y); // first call base class method to update coords for chaining approach if ( coords.x == -1 || coords.y == -1 ) { // Co-ordinates go from 0 to X-1 remember! width() and height() are out of range! coords.y = (coords.y >> 3) * 4 + (coords.y & 0b00000011); return coords; /* ================================================== */ #define NUM_ROWS 1 // Number of rows of chained INDIVIDUAL PANELS // ^^^ NOTE: DEFAULT EXAMPLE SETUP IS FOR A CHAIN OF TWO x 1/8 SCAN PANELS // Change this to your needs, for details on VirtualPanel pls read the PDF! // placeholder for the matrix object // placeholder for the virtual display object /****************************************************************************** Serial.begin(115200); /*
*/ mxconfig.clkphase = false; // Change this if you see pixels showing up shifted wrongly by one column the left or right. //mxconfig.driver = HUB75_I2S_CFG::FM6126A; // in case that we use panels based on FM6126A chip, we can set it here before creating MatrixPanel_I2S_DMA object // OK, now we can create our matrix object // let's adjust default brightness to about 75% // Allocate memory and start DMA display dma_display->clearScreen(); // create FourScanPanellay object based on our newly created dma_display object // THE IMPORTANT BIT BELOW! // Test the pixel mapping - fill the panel pixel by pixel for (int i = 0; i < FourScanPanel->height(); i++)
} delay(2000); } // end loop i'm still using this and here we what i gote WhatsApp.Video.2025-03-02.at.12.03.20.mp4 |
dear mr @board707, I'm sorry can you help me ? |
Hi
|
here is video WhatsApp.Video.2025-03-06.at.09.39.59.mp4 |
Thank you for the video. |
dear mr
i need help about this panel
here is my code
#include "ESP32-HUB75-MatrixPanel-I2S-DMA.h"
#include "ESP32-VirtualMatrixPanel-I2S-DMA.h"
// Panel configuration
#define PANEL_RES_X 32 // Number of pixels wide of each INDIVIDUAL panel module.
#define PANEL_RES_Y 16 // Number of pixels tall of each INDIVIDUAL panel module.
#define NUM_ROWS 1 // Number of rows of chained INDIVIDUAL PANELS
#define NUM_COLS 1 // Number of INDIVIDUAL PANELS per ROW
#define SERPENT true
#define TOPDOWN false
// placeholder for the matrix object
MatrixPanel_I2S_DMA *dma_display = nullptr;
// placeholder for the virtual display object
VirtualMatrixPanel *FourScanPanel = nullptr;
void setup() {
delay(250);
Serial.begin(115200);
Serial.println(""); Serial.println(""); Serial.println("");
Serial.println("");
Serial.println("* 1/8 Scan Panel Demonstration *");
Serial.println("");
HUB75_I2S_CFG mxconfig(
PANEL_RES_X*2, // DO NOT CHANGE THIS
PANEL_RES_Y/2, // DO NOT CHANGE THIS
NUM_ROWS * NUM_COLS // DO NOT CHANGE THIS
);
mxconfig.clkphase = false; // Change this if you see pixels showing up shifted wrongly by one column the left or right.
//mxconfig.driver = HUB75_I2S_CFG::FM6126A; // in case that we use panels based on FM6126A chip, we can set it here before creating MatrixPanel_I2S_DMA object
// Create our matrix object
dma_display = new MatrixPanel_I2S_DMA(mxconfig);
// Adjust default brightness to about 75%
dma_display->setBrightness8(96); // range is 0-255, 0 - 0%, 255 - 100%
// Allocate memory and start DMA display
if (!dma_display->begin())
Serial.println("****** !KABOOM! I2S memory allocation failed ***********");
dma_display->clearScreen();
delay(500);
// Create FourScanPanel object based on our newly created dma_display object
FourScanPanel = new VirtualMatrixPanel((*dma_display), NUM_ROWS, NUM_COLS, PANEL_RES_X, PANEL_RES_Y);
// THE IMPORTANT BIT BELOW!
FourScanPanel->setPhysicalPanelScanRate(FOUR_SCAN_16PX_HIGH);
}
void loop() {
for (int i = 0; i < FourScanPanel->height(); i++)
{
for (int j = 0; j < FourScanPanel->width(); j++)
{
FourScanPanel->drawPixel(j, i, FourScanPanel->color565(255, 0, 0));
delay(30);
}
}
delay(2000);
dma_display->clearScreen();
} // end loop
WhatsApp.Video.2025-03-01.at.11.24.22.mp4
The text was updated successfully, but these errors were encountered: