Export to GitHub

arduino-pwm-frequency-library - issue #2

extention of the library for leonardo


Posted on Oct 23, 2013 by Happy Wombat

I wanted to extend the library for ATMEGA32U4 and ATMEGA16U4 family : Leonardo board.

I give you my results : - a new PWM.h file - a CTimerDefs.h file - a CTimerDefs.cpp file

It seems to be good for my first tests.

But I am not be able to implement the Leonardo's specific 10-bit High Speed Timer/Counter4.

Hope this will help somebody ...

Pierre

Attachments

Comment #1

Posted on May 14, 2014 by Happy Lion

Well done! Thanks a lot!

Comment #2

Posted on Jun 18, 2014 by Happy Monkey

Hi!!!!

Could you help me with your update library ?

I fixed my IR LED Transmit on digital pin #11 (ATMEGA32U4 - Leonardo Board).

Could you indicate changes in the code to apply the PWM control this pin?

Thank you !!!!

Leandro Santos

Comment #3

Posted on Sep 16, 2014 by Helpful Giraffe

Thanks for the library! I couldn't use the library on pin 3, only in pin 10 (i haven't tried all the pwm pins yet). Is it a hardware issue (it can't be done) or is a library problem?

Status: New

Labels:
Type-Defect Priority-Medium