Giter VIP home page Giter VIP logo

Comments (5)

Dlloydev avatar Dlloydev commented on June 6, 2024 1

Thank you for the detailed feedback! Yes, I think you may have found the root cause ... I'll run some tests later today then hopefully prepare an update - if not today, then very soon ...
Regards,
D. Lloyd

from esp32-esp32s2-analogwrite.

Dlloydev avatar Dlloydev commented on June 6, 2024 1

Still some variations to test and another update needed.
Should be ready in 1 or 2 days.

from esp32-esp32s2-analogwrite.

Dlloydev avatar Dlloydev commented on June 6, 2024

The waveform is now looking good. Only update ledcSetup when necessary. All parameters are now checked if changes are made. With analogWrite running continuously in the loop, a 5kHz PWM signal looked good and consistent.

This is the waveform when the duty cycle is changed 25% to 50% repeatedly ....
image
This is the waveform when changing both duty cycle and frequency repeatedly ....
image

analogWrite is now updated to version 2.0.3.

from esp32-esp32s2-analogwrite.

Dlloydev avatar Dlloydev commented on June 6, 2024

Well, I think I've ironed out the last wrinkle ... updated to version 2.0.4

from esp32-esp32s2-analogwrite.

Dlloydev avatar Dlloydev commented on June 6, 2024

I believe this is now resolved, thanks again for the feedback!
Please re-open or start a new issue if there's any problems, suggestions etc.

from esp32-esp32s2-analogwrite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.