Skip to content

Suggestion Frequency fix #5

@AramVartanyan

Description

@AramVartanyan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions