Open ThatBigPrint opened 10 months ago
What frequency did you set for the PWM? Can you try disable the hardware fade and test again?
(Top) → Component config → LightBulb Driver Config → Drivers
[*] Enable PWM interface
[ ] Use hardware fade API
...
...
I'm only using it at 150hz and I have tried that
On Tue, 2 Jan 2024, 4:07 am shixinke-orion, @.***> wrote:
What frequency did you set for the PWM? Can you try disable the hardware fade and test again?
(Top) → Component config → LightBulb Driver Config → Drivers [*] Enable PWM interface [ ] Use hardware fade API ... ...
— Reply to this email directly, view it on GitHub https://github.com/espressif/esp-iot-solution/issues/322#issuecomment-1873605433, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHU63NBKZCQQS4RNR3YTEULYMOBYVAVCNFSM6AAAAABBGV22RWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZTGYYDKNBTGM . You are receiving this because you authored the thread.Message ID: @.***>
This is a bit strange, as I can't reproduce the issue in my environment. It might be related to the application code. Could you provide a debug-level log?
I'm in airport at the min... Is it true on the esp32 including the d4 I can't call other code until the fade is finished? Or can I pin this to separate core? I've noticed sometimes dependant on connection time it interups JSON parsing
On Wed, 3 Jan 2024, 3:10 pm shixinke-orion, @.***> wrote:
This is a bit strange, as I can't reproduce the issue in my environment. It might be related to the application code. Could you provide a debug-level log?
— Reply to this email directly, view it on GitHub https://github.com/espressif/esp-iot-solution/issues/322#issuecomment-1874935242, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHU63NBW6LTFERT3YWJDG5TYMT76FAVCNFSM6AAAAABBGV22RWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZUHEZTKMRUGI . You are receiving this because you authored the thread.Message ID: @.***>
Answers checklist.
IDF version.
IDF 5.1.1
Espressif SoC revision.
Esp32 pico d4
Operating System used.
macOS
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
None
Development Kit.
Custom (confirmed working hardware
Steps to reproduce.
Just running the lightbulb example... maybe its related to the esp32 needing to wait for tasks i have tried to use both hardware timers on and off same result
Build Logs.
More Information.
No response