Which ports can do PWM?

A shrunk down Leonardo-compatible board, thumb drive sized with native USB support. [Product info]
User avatar
jonoxer
Freetronics Staff
Freetronics Staff
Posts: 298
Joined: Sat Oct 15, 2011 11:31 am
Location: Melbourne, Australia
Contact:

Re: Which ports can do PWM?

Post by jonoxer » Fri Apr 13, 2012 4:08 am

There is a remarkably parallel conversation going in in the adjacent forum topic, about isolating D11 to allow knock detection with the Piezo!

Check out this very helpful post by @geekscape:

viewtopic.php?f=27&t=300#p1042

Just do what Andy suggests there, but instead of jumpering to an analog input for knock detection (as he suggests) jumper to a PWM output.
--
Jon

dgou
Posts: 4
Joined: Thu Apr 12, 2012 1:36 pm

Re: Which ports can do PWM?

Post by dgou » Fri Apr 13, 2012 4:34 am

Great, thank you!
I wasn't sure if that other advice would still apply if the Piezo was being written to from another pin instead of being read from.
Loving the LeoStick!

iSteve
Posts: 21
Joined: Tue Dec 04, 2012 4:08 am

Re: Which ports can do PWM?

Post by iSteve » Wed May 08, 2013 5:11 am

I'm so confused.

The Leostick PWM pins are

iSteve
Posts: 21
Joined: Tue Dec 04, 2012 4:08 am

Re: Which ports can do PWM?

Post by iSteve » Thu May 09, 2013 1:52 am

I can only get
3,5,9,10
to output PWM

using the Fade Sketch on the IDE and changing the pin.

any ideas?

Post Reply