<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Error when compiling, when set “Software Serial”]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1465&amp;type=atom" />
	<updated>2022-02-07T13:15:39Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1465</id>
		<entry>
			<title type="html"><![CDATA[Re: Error when compiling, when set “Software Serial”]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4528#p4528" />
			<content type="html"><![CDATA[<p>It works great. Thanks!</p>]]></content>
			<author>
				<name><![CDATA[bjorny]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2002</uri>
			</author>
			<updated>2022-02-07T13:15:39Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4528#p4528</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Error when compiling, when set “Software Serial”]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4526#p4526" />
			<content type="html"><![CDATA[<p>I found this bug. Will be fixed in the next version of the library.<br />Now you can fix it yourself in the remotexy.h library file.<br />Find string:<br /></p><div class="codebox"><pre><code>CRemoteXYCloud *remotexy;</code></pre></div><p>replase<br /></p><div class="codebox"><pre><code>CRemoteXY *remotexy;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2022-02-07T07:09:07Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4526#p4526</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Error when compiling, when set “Software Serial”]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4521#p4521" />
			<content type="html"><![CDATA[<p>When compiling source code from RemoteXY I get error below when set to “Software Serial”. If module interface is set to Hardware Serial (RX 0, TX 1) it works correct. I tried to reinstall library RemoteXY, and reinstall Arduino IDE. Same errors occur.<br />Eg strange error: “Multiple libraries were found for &quot;SoftwareSerial.h&quot;” Cannot find multiple, even after reinstallation.<br />Configure: Cloud; Arduino Uno; Esp8266 Wifi; Arduino IDE<br />Module interface: Software Serial; RX 2, TX 3; etc…<br />Arduino IDE: 1.8.19</p><p>Any suggestion?</p><br /><br /><br /><div class="quotebox"><blockquote><p>In file included from C:\Users\&lt;xxx&gt;\test_seriell\test_seriell.ino:26:0:<br />C:\Users\ &lt;xxx&gt; \Documents\Arduino\libraries\RemoteXY\src/RemoteXY.h:205:3: error: &#039;CRemoteXYCloud&#039; does not name a type; did you mean &#039;CRemoteXYComm&#039;?<br />&nbsp; &nbsp;CRemoteXYCloud *remotexy;<br />&nbsp; &nbsp;^~~~~~~~~~~~~~<br />&nbsp; &nbsp;CRemoteXYComm<br />C:\Users\&lt;xxx&gt;\test_seriell\test_seriell.ino: In function &#039;void setup()&#039;:<br />C:\Users\ &lt;xxx&gt; \Documents\Arduino\libraries\RemoteXY\src/RemoteXY.h:206:27: error: &#039;remotexy&#039; was not declared in this scope<br />&nbsp; &nbsp;#define RemoteXY_Init() remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &amp;RemoteXY, REMOTEXY_ACCESS_PASSWORD, new CRemoteXYConnectionCloud (new CRemoteXYComm_ESP8266 (new CRemoteXYStream_SoftSerial (REMOTEXY_SERIAL_RX, REMOTEXY_SERIAL_TX, REMOTEXY_SERIAL_SPEED), REMOTEXY_WIFI_SSID, REMOTEXY_WIFI_PASSWORD), REMOTEXY_CLOUD_SERVER, REMOTEXY_CLOUD_PORT, REMOTEXY_CLOUD_TOKEN))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br />C:\Users\&lt;xxx&gt;\test_seriell\test_seriell.ino:67:3: note: in expansion of macro &#039;RemoteXY_Init&#039;<br />C:\Users\ &lt;xxx&gt; \Documents\Arduino\libraries\RemoteXY\src/RemoteXY.h:206:27: note: suggested alternative: &#039;RemoteXY&#039;<br />&nbsp; &nbsp;#define RemoteXY_Init() remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &amp;RemoteXY, REMOTEXY_ACCESS_PASSWORD, new CRemoteXYConnectionCloud (new CRemoteXYComm_ESP8266 (new CRemoteXYStream_SoftSerial (REMOTEXY_SERIAL_RX, REMOTEXY_SERIAL_TX, REMOTEXY_SERIAL_SPEED), REMOTEXY_WIFI_SSID, REMOTEXY_WIFI_PASSWORD), REMOTEXY_CLOUD_SERVER, REMOTEXY_CLOUD_PORT, REMOTEXY_CLOUD_TOKEN))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br />C:\Users\&lt;xxx&gt;\test_seriell\test_seriell.ino:67:3: note: in expansion of macro &#039;RemoteXY_Init&#039;<br />In file included from C:\Users\&lt;xxx&gt;\test_seriell\test_seriell.ino:26:0:<br />C:\Users\&lt;xxx&gt;\test_seriell\test_seriell.ino: In function &#039;void loop()&#039;:<br />C:\Users\ &lt;xxx&gt; \Documents\Arduino\libraries\RemoteXY\src/RemoteXY.h:151:28: error: &#039;remotexy&#039; was not declared in this scope<br /> #define RemoteXY_Handler() remotexy-&gt;handler ()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^<br />C:\Users\&lt;xxx&gt;\test_seriell\test_seriell.ino:77:3: note: in expansion of macro &#039;RemoteXY_Handler&#039;<br />C:\Users\ &lt;xxx&gt; \Documents\Arduino\libraries\RemoteXY\src/RemoteXY.h:151:28: note: suggested alternative: &#039;RemoteXY&#039;<br /> #define RemoteXY_Handler() remotexy-&gt;handler ()<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ^<br />C:\Users\&lt;xxx&gt;\test_seriell\test_seriell.ino:77:3: note: in expansion of macro &#039;RemoteXY_Handler&#039;<br />Multiple libraries were found for &quot;SoftwareSerial.h&quot;<br /> Used: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\SoftwareSerial<br />Unused: C:\Users\&lt;xxx&gt;\Documents\Arduino\libraries\EspSoftwareSerial<br />exit status 1<br />Error compiling for board Arduino Uno.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[bjorny]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2002</uri>
			</author>
			<updated>2022-02-06T12:59:54Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4521#p4521</id>
		</entry>
</feed>
