<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Not Able to control servo and motor at same time.]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=996</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=996&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Not Able to control servo and motor at same time..]]></description>
		<lastBuildDate>Sat, 06 Jun 2020 20:47:20 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Not Able to control servo and motor at same time.]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=3050#p3050</link>
			<description><![CDATA[<p>Welcome,</p><p>Sorry but this has nothing to do with remotexy. And I see nothing in your code about a servo or a motor... I suggest you ask on the arduino forum.</p>]]></description>
			<author><![CDATA[null@example.com (Guillaume)]]></author>
			<pubDate>Sat, 06 Jun 2020 20:47:20 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=3050#p3050</guid>
		</item>
		<item>
			<title><![CDATA[Re: Not Able to control servo and motor at same time.]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=3029#p3029</link>
			<description><![CDATA[<p>????</p>]]></description>
			<author><![CDATA[null@example.com (admiringbear)]]></author>
			<pubDate>Mon, 01 Jun 2020 09:54:11 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=3029#p3029</guid>
		</item>
		<item>
			<title><![CDATA[Not Able to control servo and motor at same time.]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=2934#p2934</link>
			<description><![CDATA[<p>I have the issue that i can control the motor and servo when they are in different codes. But when i merge the codes together only the servo works. the motor is connected to a L298N motorstiver. This is a project for school that needs to be done as fast as possible, so if you could help me you would be my hero.</p><p>/*<br />&nbsp; &nbsp;-- New project --<br />&nbsp; &nbsp;<br />&nbsp; &nbsp;This source code of graphical user interface <br />&nbsp; &nbsp;has been generated automatically by RemoteXY editor.<br />&nbsp; &nbsp;To compile this code using RemoteXY library 2.4.3 or later version <br />&nbsp; &nbsp;download by link <a target="_blank" href="http://remotexy.com/en/library/">http://remotexy.com/en/library/</a><br />&nbsp; &nbsp;To connect using RemoteXY mobile app by link <a target="_blank" href="http://remotexy.com/en/download/">http://remotexy.com/en/download/</a>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp; &nbsp; &nbsp;- for ANDROID 4.5.1 or later version;<br />&nbsp; &nbsp; &nbsp;- for iOS 1.4.1 or later version;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp;This source code is free software; you can redistribute it and/or<br />&nbsp; &nbsp;modify it under the terms of the GNU Lesser General Public<br />&nbsp; &nbsp;License as published by the Free Software Foundation; either<br />&nbsp; &nbsp;version 2.1 of the License, or (at your option) any later version.&nbsp; &nbsp; <br />*/</p><p>//////////////////////////////////////////////<br />//&nbsp; &nbsp; &nbsp; &nbsp; RemoteXY include library&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //<br />//////////////////////////////////////////////</p><p>// RemoteXY select connection mode and include library <br />#define REMOTEXY_MODE__ESP8266_HARDSERIAL_POINT</p><p>#include &lt;RemoteXY.h&gt;</p><p>// RemoteXY connection settings <br />#define REMOTEXY_SERIAL Serial<br />#define REMOTEXY_SERIAL_SPEED 115200<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,2,0,0,0,23,0,10,28,0,<br />&nbsp; 1,0,37,16,24,24,2,31,88,0,<br />&nbsp; 1,0,68,32,22,22,2,31,88,0 };<br />&nbsp; <br />// this structure defines all the variables and events of your control interface <br />struct {</p><p>&nbsp; &nbsp; // input variables<br />&nbsp; uint8_t button_1; // =1 if button pressed, else =0 <br />&nbsp; uint8_t button_2; // =1 if button pressed, else =0 </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>#define PIN_BUTTON_1 9<br />#define PIN_BUTTON_2 8<br />#define enA 10</p><br /><p>void setup() <br />{<br />&nbsp; RemoteXY_Init (); <br />&nbsp; <br />&nbsp; pinMode (PIN_BUTTON_1, OUTPUT);<br />&nbsp; pinMode (PIN_BUTTON_2, OUTPUT);<br />&nbsp; <br />&nbsp; // TODO you setup code<br />&nbsp; <br />}</p><p>void loop() <br />{ <br />&nbsp; RemoteXY_Handler ();<br />&nbsp; <br />&nbsp; analogWrite(enA, 200);<br />&nbsp; digitalWrite(PIN_BUTTON_1, (RemoteXY.button_1==0)?LOW:HIGH);<br />&nbsp; digitalWrite(PIN_BUTTON_2, (RemoteXY.button_2==0)?LOW:HIGH);<br />&nbsp; <br />&nbsp; // TODO you loop code<br />&nbsp; // use the RemoteXY structure for data transfer<br />&nbsp; // do not call delay() </p><br /><p>}</p>]]></description>
			<author><![CDATA[null@example.com (admiringbear)]]></author>
			<pubDate>Wed, 06 May 2020 14:53:33 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=2934#p2934</guid>
		</item>
	</channel>
</rss>
