Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect dynamic dimmer level calculation. #5

Open
Ruyske opened this issue Nov 15, 2018 · 0 comments
Open

Incorrect dynamic dimmer level calculation. #5

Ruyske opened this issue Nov 15, 2018 · 0 comments
Assignees

Comments

@Ruyske
Copy link

Ruyske commented Nov 15, 2018

dimmerLevel = ((1/100)*(**(luminosityPercent*dimmerConfig.levelMax)**+(100*dimmerConfig.levelMin)-**(luminosityPercent*dimmerConfig.levelMax)**));

Look precisely to highlighted items.
Look like missstypped. So really equasion equal
dimmerLevel = ((1/100)(100dimmerConfig.levelMin));

@maros maros self-assigned this Nov 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants