GithubHelp home page GithubHelp logo

pwm's Introduction

PWM.h

v 5.0

Created by Sam Knight

Modify PWM frequency on AVR (arduino) platform

Modified by Terry Myers:

  1. Modified examples to be in their own folders
  2. Corrected a line feed character in two of the libraries so that visual studio would not error when opening them
  3. Added README.MD, library.properties, and library.json files to better "integrate" to IDEs espencially Arduino IDE for begginers
  4. Added new example for high resolution control of an LED
  5. Added "{ 0, 0, 0, 0, 0 }, //TIMER1C" to line 107 in ATimerDefs.cpp as suggested by texmit from arduino forms

Original repository https://code.google.com/archive/p/arduino-pwm-frequency-library/downloads

Original Arduino Forum library post by Runnerup (Sam Knight): https://forum.arduino.cc/index.php?topic=117425.0

pwm's People

Contributors

terryjmyers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pwm's Issues

Using ATmega128 ?

Hi, great library!
Would it be possible to include the ATmega128 in the list of supported Megas ?
Would be phantastic !

Compile error on Arduino MRK

*: undefined reference to `InitTimersSafe()'
*: undefined reference to `SetPinFrequencySafe(signed char, unsigned long)'
collect2.exe: error: ld returned 1 exit status
Using library pwm at version 5.0 in folder: *\Documents\Arduino\libraries\pwm 

This is the same on all SAMD boards.

Same sketch for AVR compiles without issues.

Library.properties file change

Thanks for copying this older library and tidying it up.

Minor issue, but I think that the library.properties file should be
architectures=AVR
instead of
architectures=*

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.