PDA

View Full Version : Teensy 2.0 16bit Fast PWM



cayuse
05-25-2013, 07:33 PM
IDK if this is the right place, but my friend and I worked up a pretty decent example project to initiate and use timer1 and its relevant output pins in fast PWM mode with 16 bit resolution.

While we are using it for accurate 3-color LED control, it is a good example for anyone who wants to use the timers for other tasks.

Hope it helps.

https://github.com/n9xmj/PWM