<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / PWM frequency]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=247&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=247"/>
	<updated>2016-10-13T05:29:23Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=247</id>
	<entry>
		<title type="html"><![CDATA[Re: PWM frequency]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1080#p1080"/>
		<content type="html"><![CDATA[<p>Hi Mike, <br />exactly. For such a low frequency you can use any GPIO pin.</p><p>Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2016-10-13T05:29:23Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1080#p1080</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PWM frequency]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1079#p1079"/>
		<content type="html"><![CDATA[<p>Thats for the reply Jaroslav,</p><p>I will play with the pwm block and let you know how it goes.</p><p>Are you saying because of the low frequency I could use any of the GPIO pins? In this case I could save the hardware pwm pin for something that really needs it. </p><p>Cheers</p><p>Mike</p>]]></content>
		<author>
			<name><![CDATA[mikeyh]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=60</uri>
		</author>
		<updated>2016-10-12T20:43:10Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1079#p1079</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PWM frequency]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1073#p1073"/>
		<content type="html"><![CDATA[<p>Hi, <br />for such a low frequency you can do without hardware PWM. Use a task with 10ms sampling time (this gives you 100 levels within duty cycle of 1s) and put the PWM function block inside. Set pertm=1 (i.e. 1 second, 1 Hz) and you are done. Is there any specific reason to use the hardware PWM?</p><p>Hope this helps,<br />Jaroslav</p>]]></content>
		<author>
			<name><![CDATA[jaroslav_sobota]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=3</uri>
		</author>
		<updated>2016-10-12T11:38:53Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1073#p1073</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[PWM frequency]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1071#p1071"/>
		<content type="html"><![CDATA[<p>I&#039;m playing with the PWM pins on the Raspberry Pi now. How can I lock in a frequency. I need a frequency of 1Hz, with 0-100% duty cycle. Is this possible?</p><p>Thanks!</p>]]></content>
		<author>
			<name><![CDATA[contactform]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=11</uri>
		</author>
		<updated>2016-10-12T05:52:26Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1071#p1071</id>
	</entry>
</feed>
