ESP32-HUB75-MatrixPanel-DMA/examples/ChainedPanelsAuroraDemo/PatternTest.h
Emil Muratov 33b95f534f ported changes from non-chained version of example.
Tested with 128x128 pane (four 64x64 panels)

Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2020-12-19 20:28:47 +03:00

20 lines
294 B
C++

#ifndef PatternTest_H
#define PatternTest_H
class PatternTest : public Drawable {
private:
public:
PatternTest() {
name = (char *)"Test Pattern";
}
unsigned int drawFrame() {
matrix.fillScreen(matrix.color565(128, 0, 0));
return 1000;
}
};
#endif