<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Servo delay]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1352&amp;type=atom" />
	<updated>2021-07-25T08:32:06Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1352</id>
		<entry>
			<title type="html"><![CDATA[Re: Servo delay]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4132#p4132" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>martin-block wrote:</cite><blockquote><p>but it&#039;s a bit difficult when i can use delay</p></blockquote></div><p>Not clearly understanding this... what code have you tried?</p><p>A simple press of button to move servo would be something like this...</p><div class="codebox"><pre><code>void loop()
{
  if(RemoteXY.button_1==1){
    myservo.write(180);  // When button pressed
  }
  else
    myservo.write(0);  // When button released
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Gunner]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1840</uri>
			</author>
			<updated>2021-07-25T08:32:06Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4132#p4132</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Servo delay]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4126#p4126" />
			<content type="html"><![CDATA[<p>Hey. I have to say that I am really happy with Remotexy. but I have a little problem. i want a servo to move from position a to position b at the touch of a button, but it&#039;s a bit difficult when i can use delay. any good ideas. thanks in advance.</p>]]></content>
			<author>
				<name><![CDATA[martin-block]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1895</uri>
			</author>
			<updated>2021-07-21T20:15:25Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4126#p4126</id>
		</entry>
</feed>
