Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.

Commit 1dd198c

Browse files
committed
increase limit for auto brigthness
1 parent 8d4100c commit 1dd198c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SmartDisplayController01_helper.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ void checkBrightness()
4444
float lux = photocell.getCurrentLux();
4545
matrixBrightness = 255;
4646

47-
if (lux <= 50)
47+
if (lux <= 80)
4848
{
49-
matrixBrightness = map(lux, 0, 50, 20, 255);
49+
matrixBrightness = map(lux, 0, 80, 20, 255);
5050
}
5151

5252
matrix->setBrightness(matrixBrightness);

0 commit comments

Comments
 (0)