Fixed brightness set to 75% in examples

Signed-off-by: Emil Muratov <gpm@hotplug.ru>
This commit is contained in:
Emil Muratov 2021-02-20 20:55:46 +03:00
parent 1bbbcf6b65
commit 6176e1acb4
3 changed files with 3 additions and 3 deletions

View file

@ -138,7 +138,7 @@ void setup() {
dma_display = new MatrixPanel_I2S_DMA(mxconfig); dma_display = new MatrixPanel_I2S_DMA(mxconfig);
// let's adjust default brightness to about 75% // 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 // Allocate memory and start DMA display
if( not dma_display->begin() ) if( not dma_display->begin() )

View file

@ -58,7 +58,7 @@ void setup(){
// In the setup() function do something like: // In the setup() function do something like:
// let's adjust default brightness to about 75% // 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 // Allocate memory and start DMA display
if( not dma_display->begin() ) if( not dma_display->begin() )

View file

@ -192,7 +192,7 @@ void setup() {
dma_display = new MatrixPanel_I2S_DMA(mxconfig); dma_display = new MatrixPanel_I2S_DMA(mxconfig);
// let's adjust default brightness to about 75% // 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 // Allocate memory and start DMA display
if( not dma_display->begin() ) if( not dma_display->begin() )