Did you set the two PWM pins as outputs in the data direction reg. I seem to remember finding this buried in the manual somewhere.
Loren
Martin Jay McKee
Sent by: AVR-Chat@yahoogroups.com
Nov 09, 2005 07:46 PM
Please respond to
AVR-Chat@yahoogroups.com
To
AVR-Chat@yahoogroups.com
cc
Subject
RE: [AVR-Chat] Phase and Frequency Correct PWM on a Mega 8
The simulator was my first suspicion but I programmed a chip (using a large prescalar) and got nothing. I'm sure it's something I'm doing wrong but darned if I can find what.
Martin Jay McKee
SPONSORED LINKS Avr microcontroller Microcontrollers Pic microcontrollers 8051 microprocessor
YAHOO! GROUPS LINKS
- Visit your group "AVR-Chat" on the web.
- To unsubscribe from this group, send an email to:
AVR-Chat-unsubscribe@yahoogroups.com
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.