From 6176e1acb41bb540d0478e42d39a341d18939fe0 Mon Sep 17 00:00:00 2001 From: Emil Muratov Date: Sat, 20 Feb 2021 20:55:46 +0300 Subject: [PATCH] Fixed brightness set to 75% in examples Signed-off-by: Emil Muratov --- examples/2_PatternPlasma/2_PatternPlasma.ino | 2 +- examples/3_FM6126Panel/3_FM6126Panel.ino | 2 +- examples/ChainedPanels/ChainedPanels.ino | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/2_PatternPlasma/2_PatternPlasma.ino b/examples/2_PatternPlasma/2_PatternPlasma.ino index b7bc791..a1c4a23 100644 --- a/examples/2_PatternPlasma/2_PatternPlasma.ino +++ b/examples/2_PatternPlasma/2_PatternPlasma.ino @@ -138,7 +138,7 @@ void setup() { dma_display = new MatrixPanel_I2S_DMA(mxconfig); // let's adjust default brightness to about 75% - dma_display->setBrightness8(96); // range is 0-255, 0 - 0%, 255 - 100% + dma_display->setBrightness8(192); // range is 0-255, 0 - 0%, 255 - 100% // Allocate memory and start DMA display if( not dma_display->begin() ) diff --git a/examples/3_FM6126Panel/3_FM6126Panel.ino b/examples/3_FM6126Panel/3_FM6126Panel.ino index 114247c..3b706e1 100644 --- a/examples/3_FM6126Panel/3_FM6126Panel.ino +++ b/examples/3_FM6126Panel/3_FM6126Panel.ino @@ -58,7 +58,7 @@ void setup(){ // In the setup() function do something like: // let's adjust default brightness to about 75% - dma_display->setBrightness8(96); // range is 0-255, 0 - 0%, 255 - 100% + dma_display->setBrightness8(192); // range is 0-255, 0 - 0%, 255 - 100% // Allocate memory and start DMA display if( not dma_display->begin() ) diff --git a/examples/ChainedPanels/ChainedPanels.ino b/examples/ChainedPanels/ChainedPanels.ino index 57fa15b..2f19775 100644 --- a/examples/ChainedPanels/ChainedPanels.ino +++ b/examples/ChainedPanels/ChainedPanels.ino @@ -192,7 +192,7 @@ void setup() { dma_display = new MatrixPanel_I2S_DMA(mxconfig); // let's adjust default brightness to about 75% - dma_display->setBrightness8(96); // range is 0-255, 0 - 0%, 255 - 100% + dma_display->setBrightness8(192); // range is 0-255, 0 - 0%, 255 - 100% // Allocate memory and start DMA display if( not dma_display->begin() )