In a message dated 4/8/2007 9:35:22 P.M. Eastern Daylight Time, anding_eunding@yahoo.com writes: The way I read the datasheet, in mode 14, ICP1 is allowed to hold any value from 4 - 65535, to give a selectable pulse width. I used a value of around 40000.... ============================================ That might work if you dont put anything bigger than that in OCR1A... but it aint 16 bit is it? Its 15 bit plus change... ************************************** See what's free at http://www.aol.com. [Non-text portions of this message have been removed]
Message
Re: [AVR-Chat] Re: ATmega 168 Timer 1 mode 14, fast PWM, problem
2007-04-09 by BobGardner@aol.com