Fixed brightness set to 75% in examples
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
This commit is contained in:
parent
1bbbcf6b65
commit
6176e1acb4
3 changed files with 3 additions and 3 deletions
|
@ -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() )
|
||||
|
|
|
@ -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() )
|
||||
|
|
|
@ -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() )
|
||||
|
|
Loading…
Reference in a new issue