BaptisteHudyma / Lamp-Da

An embedded program to control an indexable color strip wrapped around a cylinder. Based on Seed nRF52840 Sense module
GNU General Public License v3.0
2 stars 1 forks source link

Luminosity ramp flashes #38

Open BaptisteHudyma opened 2 hours ago

BaptisteHudyma commented 2 hours ago

On the constant and CCT lampes.

How to reproduce:

-> a bright luminosity spike will appear, this is undesired behavior.

BaptisteHudyma commented 2 hours ago

In my opinion, this does not happen on the indexable type because the luminosity is not handled the same way.

It is certainly a case of initial value missmatch, that ignores the first set value of the luminosity. The ramp function is not set properly the first time.