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

50hz problem help please #29

Open
sohey1973 opened this issue Sep 26, 2023 · 2 comments
Open

50hz problem help please #29

sohey1973 opened this issue Sep 26, 2023 · 2 comments

Comments

@sohey1973
Copy link

Hello, sorry for my bad English. I'm using Robotdyn's dimmer module.
I use it with the Dimmer.h library. When I extend the power cables of the lamps, the dimmer feature disappears, it just turns on and off. I think the library is set to 60hz, I need to set it to 50hz. Can someone help? I think it will be fixed at 50hz. Can you upload or send it set to 50hz? Cable length dimmer feature does not work.

@Gifford47
Copy link

Gifford47 commented Sep 27, 2023

hey!
look at this line and change it accordingly.
f.e.:

#include "Dimmer.h"

Dimmer dimmer(3, DIMMER_RAMP, 1.5, 50);

void setup() {
  dimmer.begin();
}

void loop() {
  dimmer.set(100);
  delay(1500);
  dimmer.set(0);
  delay(1500);
}

@sohey1973
Copy link
Author

How should I edit it? Can you throw the exception lineization? We are very experienced..

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