|
From: | Thomas D. Dean |
Subject: | Re: [avr-chat] pwm on 90usb1286 |
Date: | Fri, 06 Apr 2012 12:50:06 -0700 |
User-agent: | Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120310 Thunderbird/10.0.2 |
On 04/06/12 11:35, peter kotvan wrote:
Hi, i have teensy board http://www.pjrc.com/store/teensypp.html with atmel 90usb1286 for few days and i wanted to try fading LED with PWM. But in iousb1286.h aren't defined any pwm pins (OC[1-3][A-B]). Any advice? Thanks in advance. Peter PS I'm running on linux with avr-libc 1.8.0
Look at iousbxx6_7/hThe pwm signal appears on the OC pins, as an alternate function. Look at Port B. The PWM signal is generated with the timer/counter and the output compare register. Read Atmel.com doc7593.pdf.
Tom Dean
[Prev in Thread] | Current Thread | [Next in Thread] |