Thanks! I had one almost identical, but it had an error in it, which I = wouldn't have caught if I hadn't looked at yours. No wonder I was = getting funny results... (-: > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Bob Japundza > Sent: Friday, June 11, 2004 23:37 > To: PICLIST@MITVMA.MIT.EDU > Subject: [PIC]: pwm spreadsheet >=20 > Hi All, >=20 > I just whipped together the attached spreadsheet to quickly > compute the values for doing hardware pwm. I can't see any > problems with it, if there are by all means let me know. Should > be handy for setting the PR2 and duty cycle registers. >=20 > Regards, > Bob >=20 > -- > 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 >=20 >=20 >=20 > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.699 / Virus Database: 456 - Release Date: 6/4/2004 >=20 >=20 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.699 / Virus Database: 456 - Release Date: 6/4/2004 =20 -- 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