<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — WEMOS D1 Mini - Servo]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=392&amp;type=atom" />
	<updated>2018-03-02T17:34:30Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=392</id>
		<entry>
			<title type="html"><![CDATA[Re: WEMOS D1 Mini - Servo]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=1365#p1365" />
			<content type="html"><![CDATA[<p>Hello everyone,</p><p>is there anyone here in the community who can help me with this problem?</p><p>Joachim</p>]]></content>
			<author>
				<name><![CDATA[jolue1960]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=429</uri>
			</author>
			<updated>2018-03-02T17:34:30Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=1365#p1365</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: WEMOS D1 Mini - Servo]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=1349#p1349" />
			<content type="html"><![CDATA[<p>Hello,<br />Thanks for the feedback.<br />Since I am still a beginner, I do not know which code belongs to Servo.h.<br />Can you tell me what I have to delete everything and what code I then<br />Need to control the servo.<br />So far, I have always oriented myself to the examples.</p><p>Many Thanks<br />Joachim</p>]]></content>
			<author>
				<name><![CDATA[jolue1960]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=429</uri>
			</author>
			<updated>2018-02-25T07:38:06Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=1349#p1349</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: WEMOS D1 Mini - Servo]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=1342#p1342" />
			<content type="html"><![CDATA[<p>Delete all code which using servo.h</p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2018-02-23T04:43:13Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=1342#p1342</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: WEMOS D1 Mini - Servo]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=1341#p1341" />
			<content type="html"><![CDATA[<p>Hello, <br />first of all many thanks for the info. <br />When I remove #include &lt;Servo.h&gt; from the sketch, I get the following error message: </p><p>&#039;myservo&#039; was not declared in this scope&nbsp; myservo.writeMicroseconds (ms).</p><p>Is there a solution to the problem?</p><p>Thanks and best regards<br />Joachim</p>]]></content>
			<author>
				<name><![CDATA[jolue1960]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=429</uri>
			</author>
			<updated>2018-02-21T17:36:58Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=1341#p1341</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: WEMOS D1 Mini - Servo]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=1335#p1335" />
			<content type="html"><![CDATA[<p>Please, check it sketch without Servo.h<br />AP mode works as a soft AP using many resources of ESP.<br />Perhaps it is a resource conflict when the servo library is used.</p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2018-02-19T17:08:29Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=1335#p1335</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[WEMOS D1 Mini - Servo]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=1334#p1334" />
			<content type="html"><![CDATA[<p>Hello, <br />I have the following problem:<br />I would like to control over the WEMOS D1 mini a Servo by means of Slider. The sketch shows no error and the transfer is also OK. I get the message in the WLAN: &quot;RemoteXY - Not in range&quot;. When I load another sketch on the WEMOS (for example turning on the LED with a switch) everything works without problems. The WEMOS is set up as an access point. Can someone help me?<br />Here&#039;s the sketch:</p><p>#define REMOTEXY_MODE__ESP8266WIFI_LIB_POINT<br />#include &lt;ESP8266WiFi.h&gt;</p><p>#include &lt;RemoteXY.h&gt;</p><p>// RemoteXY connection settings <br />#define REMOTEXY_WIFI_SSID &quot;RemoteXY&quot;<br />#define REMOTEXY_WIFI_PASSWORD &quot;12345678&quot;<br />#define REMOTEXY_SERVER_PORT 6377</p><br /><p>// RemoteXY configurate&nbsp; <br />#pragma pack(push, 1)<br />uint8_t RemoteXY_CONF[] =<br />&nbsp; { 255,1,0,0,0,11,0,8,13,1,<br />&nbsp; 4,32,24,14,10,77,2,26 };<br />&nbsp; <br />// this structure defines all the variables of your control interface <br />struct {</p><p>&nbsp; &nbsp; // input variable<br />&nbsp; int8_t slider_1; // =-100..100 slider position </p><p>&nbsp; &nbsp; // other variable<br />&nbsp; uint8_t connect_flag;&nbsp; // =1 if wire connected, else =0 </p><p>} RemoteXY;<br />#pragma pack(pop)</p><p>/////////////////////////////////////////////<br />//&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END RemoteXY include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //<br />/////////////////////////////////////////////</p><p>#include &lt;Servo.h&gt;</p><p>Servo myservo;</p><p>void setup() <br />{<br />&nbsp; RemoteXY_Init (); </p><p>&nbsp; myservo.attach(7);<br />&nbsp; RemoteXY.slider_1 = 50;<br />&nbsp; <br />&nbsp; // TODO you setup code<br />&nbsp; <br />}</p><p>void loop() <br />{ <br />&nbsp; RemoteXY_Handler ();<br />&nbsp; <br />&nbsp; <br />&nbsp; // TODO you loop code<br />&nbsp; // use the RemoteXY structure for data transfer</p><p> int ms= RemoteXY.slider_1*20*500;<br /> myservo.writeMicroseconds(ms);<br />}</p><br /><br /><br /><p>Thank you for your help and best regards<br />Joachim</p>]]></content>
			<author>
				<name><![CDATA[jolue1960]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=429</uri>
			</author>
			<updated>2018-02-18T11:34:39Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=1334#p1334</id>
		</entry>
</feed>
