Giter Club home page Giter Club logo

khoih-prog / avr_pwm Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 1.0 120 KB

This library enables you to use Hardware-based PWM channels on AVR-based boards, such as Nano, UNO, Mega, Leonardo, 32u4, etc., to create and output PWM. Using the same functions as other FastPWM libraries to enable you to port PWM code easily between platforms.

License: MIT License

C++ 85.89% C 13.72% Shell 0.38%
32u4 avr duty-cycle hardware-based-pwm mega2560 multi-channel-pwm pwm pwm-driver pwm-frequency waveform

avr_pwm's Issues

About DCValue in setPWM_manual

Is your feature request related to a problem? Please describe.

I read documentation and "setPWM_manual" is not well described particularily "DCValue". It's named like "DutyCycleValue" but it's not. After many try I discovered that is the number of microsecond for the high level. It's PERFECT ! but not well described

Describe the solution you'd like

in "setPWM_manual", DCValue should be better described.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

setPWM_manual is THE function I am searched for. I have an idea for the case where AVR_PWM is used for trigerring something : It's shloud be intersting to set how many pulse we want before dutycycle become 0 (stop emitting on PWM pin).

Great job. Thanks a lot!

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.