if its an rc servo then what they are saying is centre is 1.5ms width ccw and cw extremes are .9 and 2 ms respectively and you see a pulse every 20 ms ie pwm At 11:25 PM 7/17/03 -0400, you wrote: >I'm trying to control a servo using timer2 and interrupts. The servo's >docs say: > >"... require 3-5V peak to peak square wave pulse. Pulse duration is from >.9mS to 2.1mS with 1.5mS as center. The pulse refreshes at 50Hz (20mS)" > >First, what do they mean by "the pulse refreshes at 50Hz"? > >Second, I am assuming I want a 50% duty cycle? > >Third, When I eventually want to change the wave, do I simply adjust PR2 >or do I have to change CCPR1L:CCP1CON<5:4>, as well? > >I apologize if this is too mundane, but I'm very new at this. > >-- >http://www.piclist.com hint: The list server can filter out subtopics >(like ads or off topics) for you. See http://www.piclist.com/#topics > > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.491 / Virus Database: 290 - Release Date: 6/18/03 -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics