aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2021-08-17 10:45:20 +0100
committerGitHub <noreply@github.com>2021-08-17 10:45:20 +0100
commit00917150ff256ebc163d63b7550683f6e917b8e5 (patch)
tree72fc916e27055535d43797ca2991e75e8043a403 /examples
parent045cad977138bf54ab3af5e03b9ba30a1b16e3bd (diff)
parentbbb23c789dfeae48cfb1966550fc01ea075a2d57 (diff)
Merge pull request #168 from mrfaptastic/SM5266P
Implement Sm5266 panels Increase default latch blanking Get rid of the legacy begin() usage of the library. Fix a minor bug with the DMA v and h line draw with out-of-bounds x/y/length params.
Diffstat (limited to 'examples')
-rw-r--r--examples/1_SimpleTestShapes/1_SimpleTestShapes.ino6
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/1_SimpleTestShapes/1_SimpleTestShapes.ino b/examples/1_SimpleTestShapes/1_SimpleTestShapes.ino
index 464fa1e..cfcd768 100644
--- a/examples/1_SimpleTestShapes/1_SimpleTestShapes.ino
+++ b/examples/1_SimpleTestShapes/1_SimpleTestShapes.ino
@@ -93,8 +93,7 @@ void drawText(int colorWheelOffset)
void setup() {
-//
-
+ // Module configuration
HUB75_I2S_CFG mxconfig(
PANEL_RES_X, // module width
PANEL_RES_Y, // module height
@@ -112,9 +111,6 @@ void setup() {
dma_display->clearScreen();
dma_display->fillScreen(myWHITE);
-//
- dma_display->begin(); // use default pins
-
// fix the screen with green
dma_display->fillRect(0, 0, dma_display->width(), dma_display->height(), dma_display->color444(0, 15, 0));
delay(500);