<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — RemoteXY compatible with PlatformIO & Visual Studio Code?]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=744&amp;type=atom" />
	<updated>2020-02-24T18:16:42Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=744</id>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY compatible with PlatformIO & Visual Studio Code?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2594#p2594" />
			<content type="html"><![CDATA[<p>Hi <strong>Federico</strong>,</p><p>Thanks for your reply :-)</p><p>For an unknown reason, I&#039;m not able to compile the official lib 2.4.3 from PlatformIO VS Code. Strange is that Guillume can do it without problem.</p><p>I faced the SAME problem with the previous official 2.3.5 (30.10.2018) while YOUR remotexy-master could compile smoothly.</p><p>Therefore I asked you to update your lib. But since, Guillaume can compile lib 2.4.3 from VS Code, which was itself a VERY good new, I&#039;m gonna to keep fighting with official 2.4.3 &amp; VS Code.</p><p>Here again, <strong>Guillaume </strong>solved my problem who was a conflict with another lib, &lt;WiFi&gt; 1.0 vs &lt;WiFiEspAT&gt; 1.1.1: <a target="_blank" href="http://forum.remotexy.com/viewtopic.php?id=904">http://forum.remotexy.com/viewtopic.php?id=904</a> </p><p><strong>Thanks to both of you again for all your very valuable contributions to Remotexy.</strong></p>]]></content>
			<author>
				<name><![CDATA[KissInno]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=951</uri>
			</author>
			<updated>2020-02-24T18:16:42Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2594#p2594</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY compatible with PlatformIO & Visual Studio Code?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2582#p2582" />
			<content type="html"><![CDATA[<p>I&#039;d like to use the new Online Graph feature with 2.4.3 (14.11.2019) with ESP32 Wifi but no way to compile from VS Code.</p><p>Arduino IDE does compile official Lib 2.4.3 but PlatformIO definitively does not want to compile :-(</p><p>Would be really great if FedericoBusero could upgrade its Remotexy-master lib (based on 2.3.5) as it is supported by VSC.</p><p>lib_deps = <a target="_blank" href="https://github.com/FedericoBusero/RemoteXY">https://github.com/FedericoBusero/RemoteXY</a>&nbsp; &nbsp;// Modified Lib to include ESP32.</p>]]></content>
			<author>
				<name><![CDATA[KissInno]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=951</uri>
			</author>
			<updated>2020-02-24T11:32:17Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2582#p2582</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY compatible with PlatformIO & Visual Studio Code?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2555#p2555" />
			<content type="html"><![CDATA[<p>This is all solved thanks to Guillaume.<br /><a target="_blank" href="http://forum.remotexy.com/viewtopic.php?id=894">http://forum.remotexy.com/viewtopic.php?id=894</a></p>]]></content>
			<author>
				<name><![CDATA[KissInno]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=951</uri>
			</author>
			<updated>2020-02-18T14:08:31Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2555#p2555</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY compatible with PlatformIO & Visual Studio Code?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2264#p2264" />
			<content type="html"><![CDATA[<p>None of the ESP32 examples seems to work under VSCode PlatformIO :-(</p><p>I&#039;m always getting the same 3 errors.</p><p>2 errors in Lib:<br />uninitialized const &#039;RemoteXY_CONF_PROGMEM&#039; [-fpermissive]<br />&#039;RemoteXY_CONF_PROGMEM&#039; does not name a type</p><p>1 error in Main:<br />storage size of &#039;RemoteXY_CONF_PROGMEM&#039; isn&#039;t known</p><p>But from Arduino IDE, Lib &amp; Example are running fine.</p><p>Any help here?</p>]]></content>
			<author>
				<name><![CDATA[KissInno]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=951</uri>
			</author>
			<updated>2019-06-29T17:25:46Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2264#p2264</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY compatible with PlatformIO & Visual Studio Code?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2255#p2255" />
			<content type="html"><![CDATA[<p>Yes, original library works with ESP32 but only with WiFi</p>]]></content>
			<author>
				<name><![CDATA[Guillaume]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=23</uri>
			</author>
			<updated>2019-06-24T16:50:17Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2255#p2255</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY compatible with PlatformIO & Visual Studio Code?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2254#p2254" />
			<content type="html"><![CDATA[<p>Thanks for this mistake: #include &lt;RemoteXY.h&gt;</p><p>I also had to change platformio.ini:<br /><strong>lib_deps = <a target="_blank" href="https://github.com/FedericoBusero/RemoteXY">https://github.com/FedericoBusero/RemoteXY</a></strong>&nbsp; &nbsp;// Modified Lib to include ESP32.</p><br /><p>(lib_deps = <a target="_blank" href="https://github.com/RemoteXY/RemoteXY-Arduino-library">https://github.com/RemoteXY/RemoteXY-Arduino-library</a> does not include ESP32 examples, ESP8266).</p>]]></content>
			<author>
				<name><![CDATA[KissInno]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=951</uri>
			</author>
			<updated>2019-06-24T15:44:31Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2254#p2254</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY compatible with PlatformIO & Visual Studio Code?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2252#p2252" />
			<content type="html"><![CDATA[<p>You need to #include &lt;RemoteXY.h&gt;</p>]]></content>
			<author>
				<name><![CDATA[Guillaume]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=23</uri>
			</author>
			<updated>2019-06-24T13:46:29Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2252#p2252</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY compatible with PlatformIO & Visual Studio Code?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2251#p2251" />
			<content type="html"><![CDATA[<p><strong>; PlatformIO Project Configuration File</strong><br />;<br />;&nbsp; &nbsp;Build options: build flags, source filter<br />;&nbsp; &nbsp;Upload options: custom upload port, speed and extra flags<br />;&nbsp; &nbsp;Library options: dependencies, extra library storages<br />;&nbsp; &nbsp;Advanced options: extra scripting<br />;<br />; Please visit documentation for the other options and examples<br />; <a target="_blank" href="https://docs.platformio.org/page/projectconf.html">https://docs.platformio.org/page/projectconf.html</a></p><p>[env:esp32dev]<br />platform = espressif32<br />board = esp32dev<br />framework = arduino<br />lib_deps = <a target="_blank" href="https://github.com/RemoteXY/RemoteXY-Arduino-library">https://github.com/RemoteXY/RemoteXY-Arduino-library</a></p><p><strong>Main.cpp</strong></p><p>#include &lt;Arduino.h&gt;<br />/*<br />&nbsp; RemoteXY example. <br />&nbsp; Smartphone connect via BLE on ESP32.<br />&nbsp; This shows an example of using the library RemoteXY.<br />&nbsp; In the example you can control the LED pin 2 using the button on the <br />&nbsp; smartphone. The example uses the BluetoothSerial library which is a standard <br />&nbsp; library in the Arduino IDE on ESP32. <br />&nbsp; <br />&nbsp; Download the mobile app from the <br />&nbsp; website: <a target="_blank" href="http://remotexy.com/download/">http://remotexy.com/download/</a> for connect this sketch.<br />&nbsp; <br />&nbsp; Use the website <a target="_blank" href="http://remotexy.com/">http://remotexy.com/</a> to create your own management <br />&nbsp; interface your arduino with your smartphone or tablet.<br />&nbsp; You can create different management interfaces. Use buttons, <br />&nbsp; switches, sliders, joysticks (g-sensor) all colors and sizes <br />&nbsp; in its interface. Next, you will be able to get the sample <br />&nbsp; code for arduino to use your interface for control from a <br />&nbsp; smartphone or tablet. You will not need to re-install the <br />&nbsp; android app, as it will determine which interface you have <br />&nbsp; downloaded the arduino.<br />&nbsp; <br />*/</p><p>///////////////////////////////////////////// <br />//&nbsp; &nbsp; &nbsp; &nbsp; RemoteXY include library&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;// <br />///////////////////////////////////////////// </p><p>// #define REMOTEXY__DEBUGLOGS Serial</p><p>// RemoteXY select connection mode and include library <br />#define REMOTEXY_MODE__ESP32_BLE <br />// #include &lt;RemoteXY.h&gt;</p><p>// RemoteXY connection settings<br />#define REMOTEXY_BT_DEVICENAME &quot;RemoteXY&quot;</p><p>// RemoteXY configurate <br />unsigned char RemoteXY_CONF[] = <br />&nbsp; { 1,0,11,0,1,5,1,0,21,2<br />&nbsp; ,59,59,2,88,0 }; <br />&nbsp; &nbsp;<br />// this structure defines all the variables of your control interface<br />struct { </p><p>&nbsp; &nbsp; // input variable<br />&nbsp; unsigned char button_1; // =1 if button pressed, else =0 </p><p>&nbsp; &nbsp; // other variable <br />&nbsp; unsigned char connect_flag;&nbsp; // =1 if wire connected, else =0 </p><p>} RemoteXY; </p><p>///////////////////////////////////////////// <br />//&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END RemoteXY include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // <br />///////////////////////////////////////////// </p><p>#define LED_BUILTIN 2</p><p>void setup()&nbsp; <br />{ <br />&nbsp; RemoteXY_Init ();&nbsp; <br />&nbsp; &nbsp;<br />&nbsp; pinMode (LED_BUILTIN, OUTPUT);<br />&nbsp; &nbsp;<br />} </p><p>void loop()&nbsp; <br />{&nbsp; <br />&nbsp; RemoteXY_Handler ();<br />&nbsp; &nbsp;<br />&nbsp; digitalWrite(LED_BUILTIN, (RemoteXY.button_1==0)?LOW:HIGH);</p><p>}</p><br /><p>+++++++++++++++++++</p>]]></content>
			<author>
				<name><![CDATA[KissInno]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=951</uri>
			</author>
			<updated>2019-06-24T12:33:06Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2251#p2251</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY compatible with PlatformIO & Visual Studio Code?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2249#p2249" />
			<content type="html"><![CDATA[<p>Show your main.cpp and platformio.ini file</p>]]></content>
			<author>
				<name><![CDATA[Guillaume]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=23</uri>
			</author>
			<updated>2019-06-24T06:15:56Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2249#p2249</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY compatible with PlatformIO & Visual Studio Code?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2247#p2247" />
			<content type="html"><![CDATA[<p>VSCode looks really great but I&#039;m having issue to make my first(easy) Remotexy project working, even with Lib added into PlateformIO.ini</p><p>I&#039;m getting these errors:<br />&#039;RemoteXY_Init&#039; w<br />&#039;RemoteXY_Init&#039; was not declared in this scope<br />&#039;RemoteXY_Handler<br />&#039;RemoteXY_Handler&#039; was not declared in this scope</p><p>Anybody who could share a basic RemoteXY project for PlateformIO VSCode?</p><p>Thanks for your support.</p>]]></content>
			<author>
				<name><![CDATA[KissInno]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=951</uri>
			</author>
			<updated>2019-06-23T20:35:02Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2247#p2247</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY compatible with PlatformIO & Visual Studio Code?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2245#p2245" />
			<content type="html"><![CDATA[<p>VSD was a tipo mistake. It is all about VS Code.</p><p>That&#039;s a good new! I&#039;m gonna to give a try to PlatformIO.</p><p>Merci bien Guillaume.</p>]]></content>
			<author>
				<name><![CDATA[KissInno]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=951</uri>
			</author>
			<updated>2019-06-21T06:20:42Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2245#p2245</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: RemoteXY compatible with PlatformIO & Visual Studio Code?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2241#p2241" />
			<content type="html"><![CDATA[<p>Welcome,</p><p>What is VSD ? I use PlatformIO with VS Code, no problem for RemoteXY, except some compile warnings...</p><p>And now that the RemoteXY library is available on Github, you don&#039;t even need to install it, just add in your project&#039;s platformio.ini<br /></p><div class="codebox"><pre><code>lib_deps =
    https://github.com/RemoteXY/RemoteXY-Arduino-library</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Guillaume]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=23</uri>
			</author>
			<updated>2019-06-17T04:12:45Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2241#p2241</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RemoteXY compatible with PlatformIO & Visual Studio Code?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2240#p2240" />
			<content type="html"><![CDATA[<p>Hi,</p><p>I&#039;m evaluation to leave Arduino IDE for VSD who offers much more features for faster development.</p><p>Remote XY is a real MUST for my projects. Before spending lot of time to learn VS Code for nothing, I prefer to ask a stupide question:</p><p>Is there anybody who has ever try VSD with RemoteXY?</p>]]></content>
			<author>
				<name><![CDATA[KissInno]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=951</uri>
			</author>
			<updated>2019-06-15T06:35:04Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2240#p2240</id>
		</entry>
</feed>
