Analog clock is poorly visible when used in conjunction with effects.
Made some minor changes. Now the brightness of the effects is still adjustable, and the brightness of the clock is always 100%.
NpbWrapper.h:
void SetPixelColor(uint16_t indexPixel, RgbwColor color)
{
switch (_type) {
case NeoPixelType_Grb: {
if (!myFullBri) {
_pGrb->SetPixelColor(indexPixel, RgbColor(color.R*bri/255, color.G*bri/255, color.B*bri/255));
}else{
_pGrb->SetPixelColor(indexPixel, RgbColor(color.R, color.G, color.B));
}
...
void SetBrightness(byte b)
{
b = 255;;
...
wled11_ol.ino:
myFullBri = true;
if (!analogClockSecondsTrail) strip.setPixelColor(secondPixel, 0x500000);
strip.setPixelColor(minutePixel, 0x0000FF);
strip.setPixelColor(hourPixel, 0x00FF00);
myFullBri = false;
...
If the code is not correct, please tell me.
It would not be bad to include the “Brightness Analog clock” option in the settings or in the sketch.
Thanks!