Coder Social home page Coder Social logo

Comments (2)

khoih-prog avatar khoih-prog commented on September 23, 2024

Would it be possible to provide a similar minimal example for setting up the frequency/duty cycle and running/stopping PWM on a given pin ? Or did I misunderstand the purpose of this library and should I use a different one ?

The library can certainly do that too simple job, provided you know how to program and use it.
I'm sorry this is not a place to train or write code for you. It's better that you ask in other forum for help as I don't have time now for it.

Good Luck,

from megaavr_slow_pwm.

rfayat avatar rfayat commented on September 23, 2024

Ok no worries, the point was not to get you to write code for me, ISR_PWM.setPWM is documented in the README but starting the PWM is not obvious from reading the example (whose purpose is to demonstrate how powerful the library is). I simply thought that adding a minimal example could help me and others to know how to program and use the library.

Cheers

from megaavr_slow_pwm.

Related Issues (1)

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.