We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 293cc35 commit b85d84dCopy full SHA for b85d84d
1 file changed
src/PixelIt.ino
@@ -1319,6 +1319,17 @@ void CreateFrames(JsonObject &json, int forceDuration)
1319
}
1320
1321
1322
+ // Enable/Disable automatic brightness control
1323
+ if (json.containsKey("autobrightness"))
1324
+ {
1325
+ logMessage += F("Brightness Automatic Control, ");
1326
+ if (json["autobrightness"].as<bool>() != matrixBrightnessAutomatic)
1327
1328
+ sendMatrixInfo = true;
1329
+ matrixBrightnessAutomatic = json["autobrightness"].as<bool>();
1330
+ }
1331
1332
+
1333
// Set GPIO
1334
if (json.containsKey("setGpio"))
1335
{
0 commit comments