<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Library fault]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=1716</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1716&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Library fault.]]></description>
		<lastBuildDate>Tue, 20 Feb 2024 05:40:35 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Library fault]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5359#p5359</link>
			<description><![CDATA[<p>You removed the RemoteXY_Init() call<br /></p><div class="codebox"><pre><code>void setup() 
{
  RemoteXY_Init (); 
  
}</code></pre></div><p>You must also select the &quot;ESP32 Dev Module&quot; board in IDE</p>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Tue, 20 Feb 2024 05:40:35 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5359#p5359</guid>
		</item>
		<item>
			<title><![CDATA[Re: Library fault]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5356#p5356</link>
			<description><![CDATA[<div class="quotebox"><cite>remotexy wrote:</cite><blockquote><p>Fixed in RemoteXY.h library 3.1.12 <a target="_blank" href="https://remotexy.com/en/library/">https://remotexy.com/en/library/</a></p></blockquote></div><p>I&#039;m getting the similar Init error. Please help!</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 3.1.11 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.11.4 or later version;<br />&nbsp; &nbsp; &nbsp;- for iOS 1.9.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>// you can enable debug logging to Serial at 115200<br />//#define REMOTEXY__DEBUGLOG&nbsp; </p><p>// RemoteXY select connection mode and include library <br />#define REMOTEXY_MODE__ESP32CORE_BLE<br />#include &lt;BLEDevice.h&gt;</p><p>#include &lt;RemoteXY.h&gt;</p><p>// RemoteXY connection settings <br />#define REMOTEXY_BLUETOOTH_NAME &quot;RemoteXY&quot;</p><br /><p>// RemoteXY configurate&nbsp; <br />#pragma pack(push, 1)<br />uint8_t RemoteXY_CONF[] =&nbsp; &nbsp;// 19 bytes<br />&nbsp; { 255,1,0,0,0,12,0,16,31,1,1,0,18,36,12,12,2,31,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 </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><br /><br /><p>void setup() <br />{<br />&nbsp; <br />&nbsp; <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<br />&nbsp; // do not call delay(), use instead RemoteXY_delay() </p><br /><p>}</p>]]></description>
			<author><![CDATA[null@example.com (smallwood0507)]]></author>
			<pubDate>Mon, 19 Feb 2024 20:29:36 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5356#p5356</guid>
		</item>
		<item>
			<title><![CDATA[Re: Library fault]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5267#p5267</link>
			<description><![CDATA[<p>Fixed in RemoteXY.h library 3.1.12 <a target="_blank" href="https://remotexy.com/en/library/">https://remotexy.com/en/library/</a></p>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Fri, 08 Dec 2023 13:55:39 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5267#p5267</guid>
		</item>
		<item>
			<title><![CDATA[Re: Library fault]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5250#p5250</link>
			<description><![CDATA[<p>I want to use an Arduino Uno R4 Wifi.<br />When i change the board to an arduino Uno it compiles without an error.</p>]]></description>
			<author><![CDATA[null@example.com (RickJogems)]]></author>
			<pubDate>Mon, 13 Nov 2023 19:12:28 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5250#p5250</guid>
		</item>
		<item>
			<title><![CDATA[Library fault]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5249#p5249</link>
			<description><![CDATA[<p>When is use an generated code.<br />it gives me an compilation error about the library.<br />Someone knows this problem?</p><div class="codebox"><pre><code>//////////////////////////////////////////////
//        RemoteXY include library          //
//////////////////////////////////////////////

// RemoteXY select connection mode and include library 
#define REMOTEXY_MODE__SOFTSERIAL
#include &lt;SoftwareSerial.h&gt;

#include &lt;RemoteXY.h&gt;

// RemoteXY connection settings 
#define REMOTEXY_SERIAL_RX 2
#define REMOTEXY_SERIAL_TX 3
#define REMOTEXY_SERIAL_SPEED 9600


// RemoteXY configurate  
#pragma pack(push, 1)
uint8_t RemoteXY_CONF[] =   // 52 bytes
  { 255,5,0,0,0,45,0,16,31,0,3,3,4,3,11,30,2,26,5,0,
  62,16,30,30,2,26,1,10,48,2,44,15,15,4,26,31,79,78,0,31,
  79,70,70,0,4,0,20,3,10,29,2,26 };
  
// this structure defines all the variables and events of your control interface 
struct {

    // input variables
  uint8_t Mode; // =0 if select position A, =1 if position B, =2 if position C, ... 
  int8_t joystick_x; // from -100 to 100  
  int8_t joystick_y; // from -100 to 100  
  uint8_t Knipper; // =1 if state is ON, else =0 
  int8_t Closed; // =0..100 slider position 

    // other variable
  uint8_t connect_flag;  // =1 if wire connected, else =0 

} RemoteXY;
#pragma pack(pop)

/////////////////////////////////////////////
//           END RemoteXY include          //
/////////////////////////////////////////////



void setup() 
{
  RemoteXY_Init (); 
  
  
  // TODO you setup code
  
}

void loop() 
{ 
  RemoteXY_Handler ();
  
  </code></pre></div><p>Fout:<br />In file included from C:\Users\jogem\OneDrive\Documenten\Arduino\RemoteXY\RemoteXY.ino:26:0:<br />C:\Users\jogem\OneDrive\Documenten\Arduino\RemoteXY\RemoteXY.ino: In function &#039;void setup()&#039;:<br />c:\Users\jogem\OneDrive\Documenten\Arduino\libraries\RemoteXY\src/RemoteXY.h:177:117: error: expected type-specifier before &#039;CRemoteXYStream_SoftSerial&#039;<br />&nbsp; &nbsp;#define RemoteXY_Init() remotexy = new CRemoteXY (RemoteXY_CONF_PROGMEM, &amp;RemoteXY, REMOTEXY_ACCESS_PASSWORD, new CRemoteXYStream_SoftSerial (REMOTEXY_SERIAL_RX, REMOTEXY_SERIAL_TX, REMOTEXY_SERIAL_SPEED))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;^<br />C:\Users\jogem\OneDrive\Documenten\Arduino\RemoteXY\RemoteXY.ino:65:3: note: in expansion of macro &#039;RemoteXY_Init&#039;<br />&nbsp; &nbsp;RemoteXY_Init ();<br />&nbsp; &nbsp;^~~~~~~~~~~~~</p><p>exit status 1</p><p>Compilation error: exit status 1</p>]]></description>
			<author><![CDATA[null@example.com (RickJogems)]]></author>
			<pubDate>Mon, 13 Nov 2023 18:36:27 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5249#p5249</guid>
		</item>
	</channel>
</rss>
