<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Two text strings only one text string displays]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=655</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=655&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Two text strings only one text string displays.]]></description>
		<lastBuildDate>Tue, 22 Jan 2019 04:27:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Two text strings only one text string displays]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1992#p1992</link>
			<description><![CDATA[<p>Not possible, I have already suggested something about this, like 2 or 3 years ago.. Either a callback system ( onPageChanged ) or even a simple variable like<br /></p><div class="codebox"><pre><code>struct { 
  ...
    // other variable
  uint8_t connect_flag;  // =1 if wire connected, else =0 
  uint8_t current_page;

} RemoteXY;</code></pre></div><p>But our suggestions seems to be ignored... <img src="https://forum.remotexy.com/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></description>
			<author><![CDATA[null@example.com (Guillaume)]]></author>
			<pubDate>Tue, 22 Jan 2019 04:27:59 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1992#p1992</guid>
		</item>
		<item>
			<title><![CDATA[Re: Two text strings only one text string displays]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1989#p1989</link>
			<description><![CDATA[<p>Can we code on the page element of remotexy?<br />I want that when the user clicks on a certain page element then only my code should run<br />So basically i want to code on the page element...that if the page element is clicked then only certain block of code will execute.....is this possible?</p>]]></description>
			<author><![CDATA[null@example.com (inaara.damani28)]]></author>
			<pubDate>Mon, 21 Jan 2019 16:11:30 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1989#p1989</guid>
		</item>
		<item>
			<title><![CDATA[Re: Two text strings only one text string displays]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1979#p1979</link>
			<description><![CDATA[<p>1) Not possible to send SMS, at least not at the moment and maybe never because it seems development of RemoteXY is stopped. The last update took about one year to come and it was only to fix a few bugs so I doubt new features will be added anytime soon (but I hope I&#039;m wrong).</p><p>2) Add two Page elements, then when you add another element you can choose on which page it must be displayed, or if it must be displayed on all Pages. Click on a Page element to go to that Page.</p><p>3) Not possible..</p>]]></description>
			<author><![CDATA[null@example.com (Guillaume)]]></author>
			<pubDate>Wed, 16 Jan 2019 17:28:30 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1979#p1979</guid>
		</item>
		<item>
			<title><![CDATA[Re: Two text strings only one text string displays]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1978#p1978</link>
			<description><![CDATA[<p>Ok fine ..thanks...i have 3 more doubts<br />1)Can we send SMS to the user using the remoteXY?<br />2) How can we go on the next page using the page element and edit the components of second page on the editor of remoteXY?<br />3) How can we enable disable the components in code?</p>]]></description>
			<author><![CDATA[null@example.com (inaara.damani28)]]></author>
			<pubDate>Wed, 16 Jan 2019 12:12:57 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1978#p1978</guid>
		</item>
		<item>
			<title><![CDATA[Re: Two text strings only one text string displays]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1977#p1977</link>
			<description><![CDATA[<p>I forgot to say that you must also increase the fourth byte of the RemoteXY_CONF array.</p><p>As you see actually it&#039;s 29:<br /></p><div class="codebox"><pre><code>255,2,0,29,...</code></pre></div><p>Which is 8 + 21.</p><p>This byte must match the total of the sizes of these arrays. If total is more than 255, then the fifth byte must also be increased (it&#039;s a 16 bits value so it is split in two bytes).</p>]]></description>
			<author><![CDATA[null@example.com (Guillaume)]]></author>
			<pubDate>Tue, 15 Jan 2019 19:22:29 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1977#p1977</guid>
		</item>
		<item>
			<title><![CDATA[Re: Two text strings only one text string displays]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1976#p1976</link>
			<description><![CDATA[<p>Oh Thank you soo muchh...</p>]]></description>
			<author><![CDATA[null@example.com (inaara.damani28)]]></author>
			<pubDate>Mon, 14 Jan 2019 03:54:33 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1976#p1976</guid>
		</item>
		<item>
			<title><![CDATA[Re: Two text strings only one text string displays]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1975#p1975</link>
			<description><![CDATA[<p>You can but only if you change it in RemoteXY_CONF too</p><p>Here is the part corresponding to these arrays:</p><div class="codebox"><pre><code>67,5,4,9,55,13,16,201,8  // text_1
67,5,4,24,55,9,16,201,21 // text_2</code></pre></div><p>The last number of each line must match the size of the array in the RemoteXY struct</p><br /><p>Want to know more about manual modification, read <a target="_blank" href="http://forum.remotexy.com/viewtopic.php?id=120">this topic</a>, it is outdated, things changed, but it should still be relevant in most cases <img src="https://forum.remotexy.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[null@example.com (Guillaume)]]></author>
			<pubDate>Mon, 14 Jan 2019 03:53:10 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1975#p1975</guid>
		</item>
		<item>
			<title><![CDATA[Re: Two text strings only one text string displays]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1974#p1974</link>
			<description><![CDATA[<p>Yess i manually changed them...so we can&#039;t change the sizes manually?<br />Do you know how to read the coordinates of RemoteXY_CONF?<br />If yes then please explain</p>]]></description>
			<author><![CDATA[null@example.com (inaara.damani28)]]></author>
			<pubDate>Mon, 14 Jan 2019 03:47:36 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1974#p1974</guid>
		</item>
		<item>
			<title><![CDATA[Re: Two text strings only one text string displays]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1973#p1973</link>
			<description><![CDATA[<div class="codebox"><pre><code>char text_1[30];  /* string end zero UNICODE */ 
char text_2[22];</code></pre></div><p>Did you manually modify the sizes of these arrays ? According to the values in RemoteXY_CONF, their size should be 8 and 21, not 30 and 22.</p>]]></description>
			<author><![CDATA[null@example.com (Guillaume)]]></author>
			<pubDate>Mon, 14 Jan 2019 03:45:49 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1973#p1973</guid>
		</item>
		<item>
			<title><![CDATA[Re: Two text strings only one text string displays]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1972#p1972</link>
			<description><![CDATA[<p>MODULE 1 CODE:-<br />/* RemoteXY select connection mode and include library */&nbsp; <br />#define REMOTEXY_MODE__ESP8266_HARDSERIAL_POINT <br />#include &lt;RemoteXY.h&gt;&nbsp; </p><p>/* RemoteXY connection settings */&nbsp; <br />#define REMOTEXY_SERIAL Serial <br />#define REMOTEXY_SERIAL_SPEED 115200&nbsp; <br />#define REMOTEXY_WIFI_SSID &quot;Project&quot; <br />#define REMOTEXY_WIFI_PASSWORD &quot;12345678&quot; <br />#define REMOTEXY_SERVER_PORT 6377 </p><p>/* RemoteXY configurate&nbsp; */&nbsp; <br />#pragma pack(push, 1) <br />uint8_t RemoteXY_CONF[] = <br />&nbsp; { 255,2,0,29,0,123,0,8,33,1,<br />&nbsp; 130,1,1,0,61,36,82,130,1,1,<br />&nbsp; 38,61,30,82,129,0,9,1,46,6,<br />&nbsp; 8,84,69,77,80,69,82,65,84,85,<br />&nbsp; 82,69,0,67,5,4,9,55,13,16,<br />&nbsp; 201,8,67,5,4,24,55,9,16,201,<br />&nbsp; 21,129,0,19,40,25,6,8,72,69,<br />&nbsp; 65,84,69,82,0,2,1,6,48,50,<br />&nbsp; 16,1,26,31,31,79,78,0,79,70,<br />&nbsp; 70,0,130,1,1,70,61,29,82,129,<br />&nbsp; 0,19,72,26,6,8,67,79,79,76,<br />&nbsp; 69,82,0,2,1,7,80,49,16,135,<br />&nbsp; 26,31,31,79,78,0,79,70,70,0 }; <br />&nbsp; &nbsp; <br />/* this structure defines all the variables of your control interface */&nbsp; <br />struct {&nbsp; <br />&nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp;/*input variable*/<br />&nbsp; uint8_t switch_1; // =1 if switch ON and =0 if OFF <br />&nbsp; uint8_t switch_2; // =1 if switch ON and =0 if OFF <br />&nbsp; &nbsp; <br />&nbsp; &nbsp; /* output variable */ <br />&nbsp; char text_1[30];&nbsp; /* string end zero UNICODE */ <br />&nbsp; char text_2[22];<br />&nbsp; <br />&nbsp; &nbsp; /* other variable */ <br />&nbsp; uint8_t connect_flag;&nbsp; &nbsp;/* =1 if wire connected, else =0 */ </p><p>} RemoteXY;&nbsp; <br />#pragma pack(pop) </p><p>#define PIN_SWITCH_1 13<br />#define PIN_SWITCH_2 12</p><p>void setup()&nbsp; &nbsp;<br />{&nbsp; <br />&nbsp; RemoteXY_Init ();<br />&nbsp; pinMode (PIN_SWITCH_1, OUTPUT);<br />&nbsp; pinMode (PIN_SWITCH_2, OUTPUT);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />}&nbsp; <br />void loop()&nbsp; &nbsp;<br />{&nbsp; &nbsp;<br />&nbsp; RemoteXY_Handler ();&nbsp; <br />&nbsp; /* get the ADC value */ <br />&nbsp; int sensorValue = analogRead(A0);&nbsp; &nbsp; &nbsp;<br />&nbsp; double mv = (sensorValue/1024.0)*5000;<br />&nbsp; double temp = mv/10;<br />&nbsp; dtostrf(temp, 0, 2, RemoteXY.text_1);<br />&nbsp; if(temp&gt;=25.00)<br />&nbsp; {<br />&nbsp; &nbsp; sprintf(RemoteXY.text_2,&quot;HEATER&quot;);<br />&nbsp; }<br />&nbsp; else <br />&nbsp; {<br /> sprintf(RemoteXY.text_2,&quot;COOLER&quot;);<br />&nbsp; }<br />&nbsp; /*convert the temperature value into a string&nbsp; <br />&nbsp; &nbsp; and place it immediately in the field text_1 patterns RemoteXY&nbsp; <br />&nbsp; */&nbsp; <br />&nbsp; Serial.print(&quot;TEMPERATURE = &quot;);<br />&nbsp; Serial.print(temp);<br />&nbsp; Serial.print(&quot;*C&quot;);&nbsp; <br />&nbsp; Serial.println();<br />&nbsp; delay(1200);&nbsp; &nbsp; &nbsp; &nbsp; </p><p> digitalWrite(PIN_SWITCH_1, (RemoteXY.switch_1==0)?LOW:HIGH);<br />&nbsp; digitalWrite(PIN_SWITCH_2, (RemoteXY.switch_2==0)?LOW:HIGH); <br />}</p>]]></description>
			<author><![CDATA[null@example.com (inaara.damani28)]]></author>
			<pubDate>Mon, 14 Jan 2019 02:44:22 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1972#p1972</guid>
		</item>
		<item>
			<title><![CDATA[Re: Two text strings only one text string displays]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1971#p1971</link>
			<description><![CDATA[<p>Show your code.</p>]]></description>
			<author><![CDATA[null@example.com (Guillaume)]]></author>
			<pubDate>Sun, 13 Jan 2019 20:35:04 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1971#p1971</guid>
		</item>
		<item>
			<title><![CDATA[Two text strings only one text string displays]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1970#p1970</link>
			<description><![CDATA[<p>I have put two text strings one after the another and in the first text string i am displaying the temperature and in the second text string im displaying the suggestion of turning ON/OF the heater/cooler.....i tried all the ways...it has been so many days since im trying bt the second text string is displaying blank when i connect to the wifi module...the suggestion is not getting displayed but the temperature is getting displayed...what should i do...i want to display both simultaneously in respective text strings</p>]]></description>
			<author><![CDATA[null@example.com (inaara.damani28)]]></author>
			<pubDate>Sun, 13 Jan 2019 10:08:41 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1970#p1970</guid>
		</item>
	</channel>
</rss>
