ESP32-Digital-RGB-LED-Drivers icon indicating copy to clipboard operation
ESP32-Digital-RGB-LED-Drivers copied to clipboard

Max brightness setting ignored

Open henryjw opened this issue 5 years ago • 3 comments

Is the brightnessLimit field respected in the strand_t implementation? I'm trying with the code below, but it doesn't seem to make a difference in the brightness of the LEDs.

strand_t strand = {
    .rmtChannel = 0,
    .gpioNum = 32,
    .ledType = LED_WS2812B_V2,
    .brightLimit = 10, // Doesn't seem to matter what the value is. Brightness doesn't change
    .numPixels = 13,
    .pixels = null,
    ._stateVars = null
};

henryjw avatar Aug 24 '19 21:08 henryjw