<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Error when using variables pages in project]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=1822</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1822&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Error when using variables pages in project.]]></description>
		<lastBuildDate>Fri, 28 Jun 2024 14:34:08 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Error when using variables pages in project]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5606#p5606</link>
			<description><![CDATA[<p>Hello ,&nbsp; </p><p>I hadn&#039;t seen that one </p><p>Thank you&nbsp; VERY MUCH ...&nbsp; You are THE&nbsp; BEST !</p>]]></description>
			<author><![CDATA[null@example.com (Pascal CUZON)]]></author>
			<pubDate>Fri, 28 Jun 2024 14:34:08 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5606#p5606</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error when using variables pages in project]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5601#p5601</link>
			<description><![CDATA[<div class="codebox"><pre><code>....
if(RemoteXY.page_main=1)
.....</code></pre></div><p>Maybe you meant this: <br /></p><div class="codebox"><pre><code>if(RemoteXY.page_main == 1) </code></pre></div>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Tue, 25 Jun 2024 05:35:14 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5601#p5601</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error when using variables pages in project]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5598#p5598</link>
			<description><![CDATA[<p>Hello ,&nbsp; I&nbsp; use the version ANDROID 4.13.13 on my phone </p><p>I am sending you below the program which presents the problem. It&#039;s as if the variable &quot;RemoteXY.page_02&quot; changed to 1 by itself???<br />Simply include your SSID and password to test</p><p>Thanks for your help</p><br /><div class="codebox"><pre><code>#include &lt;Arduino.h&gt;


/*
   -- PCN_ESP32_S3_SerreJardin4_test --
   
   This source code of graphical user interface 
   has been generated automatically by RemoteXY editor.
   To compile this code using RemoteXY library 3.1.13 or later version 
   download by link http://remotexy.com/en/library/
   To connect using RemoteXY mobile app by link http://remotexy.com/en/download/                   
     - for ANDROID 4.13.13 or later version;
     - for iOS 1.10.3 or later version;
    
   This source code is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2.1 of the License, or (at your option) any later version.    
*/

//////////////////////////////////////////////
//        RemoteXY include library          //
//////////////////////////////////////////////

// you can enable debug logging to Serial at 115200
#define REMOTEXY__DEBUGLOG    

// RemoteXY select connection mode and include library 
#define REMOTEXY_MODE__WIFI_CLOUD

#include &lt;WiFi.h&gt;

// RemoteXY connection settings 
#define REMOTEXY_WIFI_SSID &quot;Your SSID&quot;
#define REMOTEXY_WIFI_PASSWORD &quot;Your Password&quot;
#define REMOTEXY_CLOUD_SERVER &quot;cloud.remotexy.com&quot;
#define REMOTEXY_CLOUD_PORT 6376
#define REMOTEXY_CLOUD_TOKEN &quot;52b47a94fbc08e6568bc9d0a9f0c6df9&quot;


#include &lt;RemoteXY.h&gt;

// RemoteXY GUI configuration  
#pragma pack(push, 1)  
uint8_t RemoteXY_CONF[] =   // 576 bytes
  { 255,17,0,56,0,57,2,17,0,0,0,123,1,106,200,2,7,7,17,0,
  67,15,11,38,8,4,1,123,26,129,13,19,80,12,1,65,114,114,111,115,
  97,103,101,32,83,101,114,114,101,0,67,16,38,18,9,6,1,123,7,67,
  52,39,16,9,6,1,123,7,129,36,39,10,9,17,194,176,67,0,129,74,
  39,8,10,17,37,0,2,23,55,52,19,0,120,24,0,1,79,78,0,79,
  70,70,0,129,21,82,56,10,1,78,105,118,101,97,117,32,67,117,118,101,
  0,67,55,92,18,9,6,1,123,11,129,24,118,30,8,1,69,116,97,116,
  32,69,86,32,58,0,129,23,132,51,9,1,69,116,97,116,32,80,111,109,
  112,101,32,58,0,129,12,154,48,7,1,78,105,118,101,97,117,32,66,97,
  116,116,101,114,105,101,0,71,66,147,25,25,56,17,2,24,135,0,0,0,
  0,0,0,200,66,0,0,160,65,0,0,32,65,0,0,0,64,24,0,1,
  0,0,0,0,0,0,12,66,131,59,177,40,14,2,66,65,134,82,195,169,
  103,108,97,103,101,115,0,6,66,79,70,21,56,1,178,24,70,57,113,15,
  15,16,26,135,0,70,80,129,15,15,16,26,135,0,22,0,129,6,47,57,
  7,1,84,101,109,112,115,32,65,114,114,111,115,97,103,101,32,58,32,0,
  129,1,59,60,7,1,84,101,109,112,115,32,70,99,116,32,80,111,109,112,
  101,32,58,0,129,88,46,12,8,1,77,110,0,129,88,59,12,8,1,77,
  110,0,129,88,99,12,8,1,77,110,0,129,88,110,12,8,1,77,110,0,
  129,57,99,6,8,1,72,0,129,3,87,100,7,1,82,195,169,103,108,97,
  103,101,32,72,101,117,114,101,32,100,101,32,109,105,115,101,32,101,110,32,
  86,101,105,108,108,101,0,129,5,99,28,7,1,68,195,169,112,97,114,116,
  32,32,58,32,0,129,3,110,30,7,1,80,101,110,100,97,110,116,32,58,
  0,129,57,110,6,8,1,72,0,131,6,173,53,13,2,17,2,134,66,97,
  115,101,0,9,7,65,46,21,8,52,2,26,2,7,65,58,21,8,52,2,
  26,2,7,34,98,21,8,52,2,26,2,7,34,110,21,8,52,2,26,2,
  7,66,98,21,8,52,2,26,2,7,66,110,21,8,52,2,26,2,129,13,
  129,29,9,17,80,111,109,112,101,0,129,58,129,26,9,17,86,97,110,110,
  101,0,2,6,141,39,15,0,120,26,31,31,79,78,0,79,70,70,0,2,
  51,140,39,15,0,120,26,31,31,79,78,0,79,70,70,0 };
  
// this structure defines all the variables and events of your control interface 
struct {

    // input variables
  uint8_t page_main; // =1 if page is visible, else =0
  uint8_t page_02; // =1 if page is visible, else =0
  uint8_t switch_1; // =1 if switch ON and =0 if OFF
  int16_t TempsArrosageMn; // -32768 .. +32767
  int16_t TempsFctPompeMn; // -32768 .. +32767
  int16_t VeilleHeure; // -32768 .. +32767
  int16_t PendantHeure; // -32768 .. +32767
  int16_t VeilleMn; // -32768 .. +32767
  int16_t PendantMn; // -32768 .. +32767
  uint8_t ManuPompe; // =1 if switch ON and =0 if OFF
  uint8_t ManuVanne; // =1 if switch ON and =0 if OFF

    // output variables
  char DateEtHeureDuJour[26]; // string UTF8 end zero
  char Temperature[7]; // string UTF8 end zero
  char Humidite[7]; // string UTF8 end zero
  char Text_NivCuve[11]; // string UTF8 end zero
  int16_t NiveauBat; // from 0 to 100
  int8_t NiveauCuve; // from 0 to 100
  uint8_t VoyantEV; // from 0 to 1
  uint8_t VoyantPompe; // from 0 to 1

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

} RemoteXY;   
#pragma pack(pop)
 
/////////////////////////////////////////////
//           END RemoteXY include          //
/////////////////////////////////////////////



//Var
#define CommandePompe 10

void setup() 
{
  RemoteXY_Init (); 
  
  RemoteXY.page_main = 1;
  RemoteXY.page_02 = 0;
  
  // TODO you setup code

  pinMode (CommandePompe, OUTPUT);
  
}

void loop() 
{ 
  RemoteXY_Handler ();
  
  
  // TODO you loop code
  // use the RemoteXY structure for data transfer
  // do not call delay(), use instead RemoteXY_delay() 
   
 
  if (RemoteXY.page_02=1)

          if(RemoteXY.ManuPompe !=0) digitalWrite(CommandePompe , HIGH);  
      // RemoteXY.page_main =0;

  if(RemoteXY.page_main=1)

    //  RemoteXY.page_02 = 0;


  RemoteXY_delay(500);

}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Pascal CUZON)]]></author>
			<pubDate>Sat, 22 Jun 2024 09:22:04 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5598#p5598</guid>
		</item>
		<item>
			<title><![CDATA[Re: Error when using variables pages in project]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5597#p5597</link>
			<description><![CDATA[<p>below project code</p><div class="codebox"><pre><code>/*
   -- PCN_ESP32_S3_SerreJardin4_test --
   
   This source code of graphical user interface 
   has been generated automatically by RemoteXY editor.
   To compile this code using RemoteXY library 3.1.13 or later version 
   download by link http://remotexy.com/en/library/
   To connect using RemoteXY mobile app by link http://remotexy.com/en/download/                   
     - for ANDROID 4.13.13 or later version;
     - for iOS 1.10.3 or later version;
    
   This source code is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2.1 of the License, or (at your option) any later version.    
*/

//////////////////////////////////////////////
//        RemoteXY include library          //
//////////////////////////////////////////////

// you can enable debug logging to Serial at 115200
//#define REMOTEXY__DEBUGLOG    

// RemoteXY select connection mode and include library 
#define REMOTEXY_MODE__WIFI_CLOUD

#include &lt;WiFi.h&gt;

// RemoteXY connection settings 
#define REMOTEXY_WIFI_SSID &quot;YOUR_SSID&quot;
#define REMOTEXY_WIFI_PASSWORD &quot;YOUR_PASS&quot;
#define REMOTEXY_CLOUD_SERVER &quot;cloud.remotexy.com&quot;
#define REMOTEXY_CLOUD_PORT 6376
#define REMOTEXY_CLOUD_TOKEN &quot;52b47a94fbc08e6568bc9d0a9f0c6df9&quot;


#include &lt;RemoteXY.h&gt;

// RemoteXY GUI configuration  
#pragma pack(push, 1)  
uint8_t RemoteXY_CONF[] =   // 576 bytes
  { 255,17,0,56,0,57,2,17,0,0,0,123,1,106,200,2,7,7,17,0,
  67,15,11,38,8,4,1,123,26,129,13,19,80,12,1,65,114,114,111,115,
  97,103,101,32,83,101,114,114,101,0,67,16,38,18,9,6,1,123,7,67,
  52,39,16,9,6,1,123,7,129,36,39,10,9,17,194,176,67,0,129,74,
  39,8,10,17,37,0,2,23,55,52,19,0,120,24,0,1,79,78,0,79,
  70,70,0,129,21,82,56,10,1,78,105,118,101,97,117,32,67,117,118,101,
  0,67,55,92,18,9,6,1,123,11,129,24,118,30,8,1,69,116,97,116,
  32,69,86,32,58,0,129,23,132,51,9,1,69,116,97,116,32,80,111,109,
  112,101,32,58,0,129,12,154,48,7,1,78,105,118,101,97,117,32,66,97,
  116,116,101,114,105,101,0,71,66,147,25,25,56,17,2,24,135,0,0,0,
  0,0,0,200,66,0,0,160,65,0,0,32,65,0,0,0,64,24,0,1,
  0,0,0,0,0,0,12,66,131,59,177,40,14,2,66,65,134,82,195,169,
  103,108,97,103,101,115,0,6,66,79,70,21,56,1,178,24,70,57,113,15,
  15,16,26,135,0,70,80,129,15,15,16,26,135,0,22,0,129,6,47,57,
  7,1,84,101,109,112,115,32,65,114,114,111,115,97,103,101,32,58,32,0,
  129,1,59,60,7,1,84,101,109,112,115,32,70,99,116,32,80,111,109,112,
  101,32,58,0,129,88,46,12,8,1,77,110,0,129,88,59,12,8,1,77,
  110,0,129,88,99,12,8,1,77,110,0,129,88,110,12,8,1,77,110,0,
  129,57,99,6,8,1,72,0,129,3,87,100,7,1,82,195,169,103,108,97,
  103,101,32,72,101,117,114,101,32,100,101,32,109,105,115,101,32,101,110,32,
  86,101,105,108,108,101,0,129,5,99,28,7,1,68,195,169,112,97,114,116,
  32,32,58,32,0,129,3,110,30,7,1,80,101,110,100,97,110,116,32,58,
  0,129,57,110,6,8,1,72,0,131,6,173,53,13,2,17,2,134,66,97,
  115,101,0,9,7,65,46,21,8,52,2,26,2,7,65,58,21,8,52,2,
  26,2,7,34,98,21,8,52,2,26,2,7,34,110,21,8,52,2,26,2,
  7,66,98,21,8,52,2,26,2,7,66,110,21,8,52,2,26,2,129,13,
  129,29,9,17,80,111,109,112,101,0,129,58,129,26,9,17,86,97,110,110,
  101,0,2,6,141,39,15,0,120,26,31,31,79,78,0,79,70,70,0,2,
  51,140,39,15,0,120,26,31,31,79,78,0,79,70,70,0 };
  
// this structure defines all the variables and events of your control interface 
struct {

    // input variables
  uint8_t page_main; // =1 if page is visible, else =0
  uint8_t page_02; // =1 if page is visible, else =0
  uint8_t switch_1; // =1 if switch ON and =0 if OFF
  int16_t TempsArrosageMn; // -32768 .. +32767
  int16_t TempsFctPompeMn; // -32768 .. +32767
  int16_t VeilleHeure; // -32768 .. +32767
  int16_t PendantHeure; // -32768 .. +32767
  int16_t VeilleMn; // -32768 .. +32767
  int16_t PendantMn; // -32768 .. +32767
  uint8_t ManuPompe; // =1 if switch ON and =0 if OFF
  uint8_t ManuVanne; // =1 if switch ON and =0 if OFF

    // output variables
  char DateEtHeureDuJour[26]; // string UTF8 end zero
  char Temperature[7]; // string UTF8 end zero
  char Humidite[7]; // string UTF8 end zero
  char Text_NivCuve[11]; // string UTF8 end zero
  int16_t NiveauBat; // from 0 to 100
  int8_t NiveauCuve; // from 0 to 100
  uint8_t VoyantEV; // from 0 to 1
  uint8_t VoyantPompe; // from 0 to 1

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

} RemoteXY;   
#pragma pack(pop)
 
/////////////////////////////////////////////
//           END RemoteXY include          //
/////////////////////////////////////////////



void setup() 
{
  RemoteXY_Init (); 
  
  RemoteXY.page_main = 1;
  RemoteXY.page_02 = 1;
  
  // TODO you setup code
  
}

void loop() 
{ 
  RemoteXY_Handler ();
  
  
  // TODO you loop code
  // use the RemoteXY structure for data transfer
  // do not call delay(), use instead RemoteXY_delay() 


}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Pascal CUZON)]]></author>
			<pubDate>Fri, 21 Jun 2024 17:28:55 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5597#p5597</guid>
		</item>
		<item>
			<title><![CDATA[Error when using variables pages in project]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5596#p5596</link>
			<description><![CDATA[<p>Hello,</p><p>When I insert the code (Img03)&nbsp; in my project&nbsp; when I Clic on button reglage I have a blanck page (Img04)</p><p><a target="_blank" href="https://drive.google.com/drive/folders/1dv2KXy5z9u8UtfkqLiVN-H7lIogVJI2j?usp=sharing">https://drive.google.com/drive/folders/ … sp=sharing</a></p><p>without this code&nbsp; Page 01 and 02 OK&nbsp; &nbsp;????</p><p>Project&nbsp; Test&nbsp; : <a target="_blank" href="https://remotexy.com/en/account/projects/#:~:text=9-,Test_Pages,-Delete">https://remotexy.com/en/account/project … es,-Delete</a></p><p>Can you help me .</p>]]></description>
			<author><![CDATA[null@example.com (Pascal CUZON)]]></author>
			<pubDate>Fri, 21 Jun 2024 16:51:55 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5596#p5596</guid>
		</item>
	</channel>
</rss>
