<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / PWM pin mode]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=78&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=78"/>
	<updated>2016-03-25T22:57:50Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=78</id>
	<entry>
		<title type="html"><![CDATA[Re: PWM pin mode]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=353#p353"/>
		<content type="html"><![CDATA[<p>The PWM range is 0..1023. Multiply your boolean signal by 1023 to get full duty cycle (use GAIN block).</p>]]></content>
		<author>
			<name><![CDATA[josar]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=15</uri>
		</author>
		<updated>2016-03-25T22:57:50Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=353#p353</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PWM pin mode]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=350#p350"/>
		<content type="html"><![CDATA[<p>Attached are two .mdl files: <a href="https://www.rexcontrols.cz/forum/img/members/45/motor_task.mdl" rel="nofollow">motor_task.mdl</a> and <a href="https://www.rexcontrols.cz/forum/img/members/45/motorTest.mdl" rel="nofollow">motorTest.mdl</a> <br />On the Pi (without REX) we use the RPIO library and the PWM commands to control the output and change the frequency and/or duty cycle, but have run into some issues trying to copy this type of functionality via REX.&#160; Is there a demo file for a working PWM setup with a Raspberry Pi?&#160; Do you have any guides for the proper setup for a Pi?</p>]]></content>
		<author>
			<name><![CDATA[ier123]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=45</uri>
		</author>
		<updated>2016-03-25T17:31:55Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=350#p350</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: PWM pin mode]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=341#p341"/>
		<content type="html"><![CDATA[<p>Please, can you attach whole Rex project (.mdl files)? It would be much easier to find the issue in your implementation.</p><p>Regards, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2016-03-17T08:04:12Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=341#p341</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[PWM pin mode]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=339#p339"/>
		<content type="html"><![CDATA[<p>I am trying to use the PWM pin mode to control a basic motor. As documented in the Raspberry Pi Rex User Guide, it says that GoTo RPI__PWM18 will produce output on pin 18. I am getting no output from pin 18 when I implement this block. However, if I rename the block to RPI__GPIO18, I get output on pin 18. A picture of the block I&#039;ve set up is attached. Any suggestions on setting up PWM would be helpful. Thanks in advance.</p>]]></content>
		<author>
			<name><![CDATA[ier123]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=45</uri>
		</author>
		<updated>2016-03-16T19:44:47Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=339#p339</id>
	</entry>
</feed>
