<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
<link rel="self" type="application/atom+xml" href="http://forum.robosavvy.com/feed.php?f=17&amp;t=6541" />

<title>RoboSavvy Forum</title>
<subtitle>Robosavvy Forum: The largest online community of Humanoid Robot Builders</subtitle>
<link href="http://forum.robosavvy.com/index.php" />
<updated>2010-09-08T04:29:38+01:00</updated>

<author><name><![CDATA[RoboSavvy Forum]]></name></author>
<id>http://forum.robosavvy.com/feed.php?f=17&amp;t=6541</id>
<entry>
<author><name><![CDATA[roboard]]></name></author>
<updated>2010-09-08T04:29:38+01:00</updated>
<published>2010-09-08T04:29:38+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6541&amp;p=28070#p28070</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6541&amp;p=28070#p28070"/>
<title type="html"><![CDATA[Cancel PWM signal]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6541&amp;p=28070#p28070"><![CDATA[
<blockquote><div><cite>dragonax wrote:</cite><br />is it wrong if I use pwm_SetPulseCount and include the  pwm.h unit<br /></div></blockquote><br /><br />It is not suggested to use RC servo lib (including rcservo_SendPWMPulses()) and PWM lib (including pwm_SetPulseCount()) at the same time, because this may confuse the internal states of the two lib.<br /><br /><img src="http://forum.robosavvy.com/images/smilies/icon_smile.gif" alt=":)" title="Smile" /><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1542">roboard</a> — Wed Sep 08, 2010 4:29 am</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[dragonax]]></name></author>
<updated>2010-09-07T16:13:14+01:00</updated>
<published>2010-09-07T16:13:14+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6541&amp;p=28065#p28065</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6541&amp;p=28065#p28065"/>
<title type="html"><![CDATA[Cancel PWM signal]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6541&amp;p=28065#p28065"><![CDATA[
Thanks i'll try that.<br /><br />is it wrong if I use pwm_SetPulseCount and include the  pwm.h unit<p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2311">dragonax</a> — Tue Sep 07, 2010 4:13 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[roboard]]></name></author>
<updated>2010-09-07T16:03:14+01:00</updated>
<published>2010-09-07T16:03:14+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6541&amp;p=28063#p28063</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6541&amp;p=28063#p28063"/>
<title type="html"><![CDATA[Re: Cancel PWM signal]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6541&amp;p=28063#p28063"><![CDATA[
<blockquote><div><cite>dragonax wrote:</cite><br />is there any way to cancel the pwm signal once started? in the following code I tried &quot;break&quot; while loop doesn't work<br /></div></blockquote><br /><br />Currently, no PWM-mode API in RC servo lib of RoBoIO can stop PWM pulses directly. But you can try the following trick:<br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>    rcservo_SendPWMPulses&#40;channel, period, duty, count&#41;;<br />    ....<br />    //trick to cancel PWM pulses of the last rcservo_SendPWMPulses&#40;cannel, ...&#41; call<br />    rcservo_SendPWMPulses&#40;channel, period, duty, 1L&#41;;<br />    while&#40;rcservo_IsPWMCompleted&#40;channel&#41; == false&#41;;<br /></code></dd></dl><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=1542">roboard</a> — Tue Sep 07, 2010 4:03 pm</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[dragonax]]></name></author>
<updated>2010-09-07T07:31:51+01:00</updated>
<published>2010-09-07T07:31:51+01:00</published>
<id>http://forum.robosavvy.com/viewtopic.php?t=6541&amp;p=28049#p28049</id>
<link href="http://forum.robosavvy.com/viewtopic.php?t=6541&amp;p=28049#p28049"/>
<title type="html"><![CDATA[Cancel PWM signal]]></title>

<content type="html" xml:base="http://forum.robosavvy.com/viewtopic.php?t=6541&amp;p=28049#p28049"><![CDATA[
is there any way to cancel the pwm signal once started? in the following code I tried &quot;break&quot; while loop doesn't work<br /><br /><br /><dl class="codebox"><dt>Code: </dt><dd><code>    rcservo_SendPWMPulses&#40;channel, period, duty, count&#41;;<br /><br />    while&#40;rcservo_IsPWMCompleted&#40;channel&#41; == false&#41;&#123;<br />      break;<br />    &#125;<br /></code></dd></dl><p>Statistics: Posted by <a href="http://forum.robosavvy.com/memberlist.php?mode=viewprofile&amp;u=2311">dragonax</a> — Tue Sep 07, 2010 7:31 am</p><hr />
]]></content>
</entry>
</feed>