-
Notifications
You must be signed in to change notification settings - Fork 3
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
Suggestion Frequency fix #5
Comments
That's interesting. Thank you for sharing. |
You are welcome. |
Right, I did not realize it's not RTOS, but a regular SDK (long day). |
FYI. I am building esp-homekit with ESP8266 RTOS SDK, and their PWM causes clients to get disconnected. Wi-Fi is OK; just the esp-homekit clients get disconnected. Weird. I need information on what the |
I did not touch it for a long time, but I believe this is for a divider. |
Dear Sashka,
I am using your library for driving RGB LED dimmer with SuperHouse esp-open-rtos.
I very much appreciate your work.
I want to share with you my last experience with it and I will be glad if it helps you fix the Frequency issue.
The good news is that if I am not using
multipwm_set_freq ()
to set it up, the actual PWM frequency is 1,2kHz. In any other case it stays at 100Hz or less, no matter what number I will choose.
It works very stable with this code:
https://github.com/AramVartanyan/esp-homekit-demo/blob/master/examples/magic_home_strip/magic_home.c
I am curious if it is helpful, but an updated library by Espressif exists. I tried to implement it without success, but it may be useful for you:
https://github.com/espressif/ESP8266_RTOS_SDK/blob/master/components/esp8266/include/driver/pwm.h
https://github.com/espressif/ESP8266_RTOS_SDK/blob/master/components/esp8266/driver/pwm.c
Best Regards,
Aram
The text was updated successfully, but these errors were encountered: