<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: PWM info</title>
		<link>http://forums.leaflabs.com/topic.php?id=120</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:22:49 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=120" rel="self" type="application/rss+xml" />

		<item>
			<title>okie on "PWM info"</title>
			<link>http://forums.leaflabs.com/topic.php?id=120#post-734</link>
			<pubDate>Thu, 12 Aug 2010 20:54:10 +0000</pubDate>
			<dc:creator>okie</dc:creator>
			<guid isPermaLink="false">734@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;What I'm about to explain is documented under the PWM section for Maple at &#60;a href=&#34;http://leaflabs.com/docs/&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;There are two functions that provide control of both the PWM frequency and resolution:&#60;br /&#62;
Timer1.setPrescaleFactor(prescale)&#60;br /&#62;
Timer1.setOverflow(overflow)&#60;/p&#62;
&#60;p&#62;You must choose the right timer (there are four) for the PWM pin you're using; there's a chart on the PWM doc page.&#60;/p&#62;
&#60;p&#62;Basically, prescale determines what the 72MHz clock is divided by to produce the PWM counter clock. overflow is what the counter clock counts up to during one period of a PWM cycle and determines the resolution. This means:&#60;/p&#62;
&#60;p&#62;PWM frequency = 72MHz/(prescale*overflow)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>alduxvm on "PWM info"</title>
			<link>http://forums.leaflabs.com/topic.php?id=120#post-732</link>
			<pubDate>Thu, 12 Aug 2010 18:44:46 +0000</pubDate>
			<dc:creator>alduxvm</dc:creator>
			<guid isPermaLink="false">732@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi!!&#60;/p&#62;
&#60;p&#62;i would like to know what is the frequecy of the pwm, can we vary this freq?? is it fast enough to drive ESC's? the ESC's requires like 450 hz... servos require 50hz, and whats the resolution??&#60;/p&#62;
&#60;p&#62;thanks!!&#60;/p&#62;
&#60;p&#62;cheers!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
