CODeRUS / GyverLampCpp

GyverLamp https://github.com/AlexGyver/GyverLamp fork
https://t.me/GyverLampCpp
81 stars 31 forks source link

Flickering on "Color" effect on low brightness #43

Closed maksimkurb closed 3 years ago

maksimkurb commented 3 years ago

When I turn on Color effect on a low brightness 2-15 on a speed 1 lamp flickering very fast. When I increases speed from 1 to 255 flickering disappears (at least from the eye perspective).

I wonder if it can be solved just via hardcoding Color effect speed to 255 or solution is more complicated?

I'm using Wemos D1 board

CODeRUS commented 3 years ago

Thanks, fixed in 132f4b74acc4ee4147b5ae9101a32029b518d07a

maksimkurb commented 3 years ago

Flickering is not solved because I can set speed to low values. Video demo

Also I've noticed that on a speed=255, matrix is flickering too (but slowly) for a 2-3 seconds

CODeRUS commented 3 years ago

There is nothing to do more. Leds are not capable for such mode, and FastLED library is doing dithering: https://github.com/FastLED/FastLED/wiki/FastLED-Temporal-Dithering

CODeRUS commented 3 years ago

Added option to enable or disable dithering: 8532e40fca3212ac52f9b8b1e58f2563cecfb800 you can disable it if you want to