<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Bored not reply]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=1853</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1853&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Bored not reply.]]></description>
		<lastBuildDate>Thu, 26 Sep 2024 06:14:43 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Bored not reply]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5700#p5700</link>
			<description><![CDATA[<p>Replase delay() with RemoteXY_delay() in all your code.<br />The best solution is to write code without delays at all. While the delay is being executed, your code cannot react to external or internal events. For example, it cannot receive data transmitted from the phone.</p>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Thu, 26 Sep 2024 06:14:43 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5700#p5700</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bored not reply]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5694#p5694</link>
			<description><![CDATA[<p>Daba <br />What do you mean ? all the comments you sent I have implemented .</p>]]></description>
			<author><![CDATA[null@example.com (eng200637)]]></author>
			<pubDate>Fri, 20 Sep 2024 15:44:36 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5694#p5694</guid>
		</item>
		<item>
			<title><![CDATA[Re: Bored not reply]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5692#p5692</link>
			<description><![CDATA[<div class="codebox"><pre><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><p>]</p>]]></description>
			<author><![CDATA[null@example.com (Daba)]]></author>
			<pubDate>Fri, 20 Sep 2024 15:31:08 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5692#p5692</guid>
		</item>
		<item>
			<title><![CDATA[Bored not reply]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=5691#p5691</link>
			<description><![CDATA[<p>There is a problem I have a project that I linked to Bluetooth through your platform, but when I try to connect to Bluetooth through your application, a message appears to me (Bored not reply) What is the solution? </p><p>This is my code:<br />/*<br />&nbsp; &nbsp;-- Water --<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.13 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.14.08 or later version;<br />&nbsp; &nbsp; &nbsp;- for iOS 1.11.2 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; &nbsp; </p><p>// RemoteXY select connection mode and include library <br />#define REMOTEXY_MODE__SOFTSERIAL</p><p>#include &lt;SoftwareSerial.h&gt;</p><p>// RemoteXY connection settings <br />#define REMOTEXY_SERIAL_RX 10<br />#define REMOTEXY_SERIAL_TX 11<br />#define REMOTEXY_SERIAL_SPEED 9600</p><br /><p>#include &lt;RemoteXY.h&gt;</p><p>// RemoteXY GUI configuration&nbsp; <br />#pragma pack(push, 1)&nbsp; <br />uint8_t RemoteXY_CONF[] =&nbsp; &nbsp;// 107 bytes<br />&nbsp; { 255,0,0,13,0,100,0,18,0,0,0,31,1,106,200,1,1,4,0,72,<br />&nbsp; 6,17,41,41,4,166,140,208,26,0,0,0,0,0,0,122,69,0,0,0,<br />&nbsp; 0,72,58,18,40,40,4,166,140,37,26,0,0,0,0,0,0,200,66,0,<br />&nbsp; 0,0,0,72,5,75,40,40,4,166,140,137,26,0,0,0,0,0,0,96,<br />&nbsp; 65,0,0,0,0,72,58,75,39,39,12,166,140,94,26,0,0,0,0,0,<br />&nbsp; 0,122,67,0,0,0,0 };<br />&nbsp; <br />// this structure defines all the variables and events of your control interface <br />struct {</p><p>&nbsp; &nbsp; // output variables<br />&nbsp; float tdsValue; // from 0 to 4000<br />&nbsp; float temperature; // from 0 to 100<br />&nbsp; float phValue; // from 0 to 14<br />&nbsp; int8_t turbidity; // from 0 to 250</p><p>&nbsp; &nbsp; // other variable<br />&nbsp; uint8_t connect_flag;&nbsp; // =1 if wire connected, else =0</p><p>} RemoteXY;&nbsp; &nbsp;<br />#pragma pack(pop)</p><p>/////////////////////////////////////////////<br />//&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;END RemoteXY include&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //<br />/////////////////////////////////////////////<br />// Include additional libraries <br />#include &lt;EEPROM.h&gt;<br />#include &quot;GravityTDS.h&quot;<br />#include &quot;max6675.h&quot;</p><p>// Pin definitions<br />#define TdsSensorPin A1<br />#define thermoDO 4<br />#define thermoCS 5<br />#define thermoCLK 6<br />#define sensorpin A2<br />#define pHSense A0</p><p>// Sensor instances<br />GravityTDS gravityTds;<br />MAX6675 thermocouple(thermoCLK, thermoCS, thermoDO);</p><p>// Global variables<br />float temperature = 25, tdsValue = 0;<br />int samples = 10;<br />float adc_resolution = 1024.0;</p><br /><p>void setup() <br />{</p><p>&nbsp; Serial.begin(9600);<br />&nbsp; RemoteXY_Init (); </p><p>&nbsp; // Initialize TDS sensor<br />&nbsp; gravityTds.setPin(TdsSensorPin);<br />&nbsp; gravityTds.setAref(3.3);<br />&nbsp; gravityTds.setAdcRange(1024.0);<br />&nbsp; gravityTds.begin();<br />&nbsp; <br />&nbsp; Serial.println(&quot;MAX6675 &amp; pH Sensor Initialization&quot;);<br />&nbsp; <br />&nbsp; // Delay for MAX6675 to stabilize<br />&nbsp; delay(500);<br />&nbsp; <br />&nbsp; <br />&nbsp; // TODO you setup code<br />&nbsp; <br />}</p><p>float ph(float voltage) {<br />&nbsp; return 7 + ((2.65 - voltage) / 0.18);<br />}</p><p>void loop() <br />{ <br />&nbsp; RemoteXY_Handler ();<br />&nbsp; // Read temperature from thermocouple<br />&nbsp; float tempC = thermocouple.readCelsius();<br />&nbsp; RemoteXY.temperature = tempC;<br />&nbsp; <br />&nbsp; // Update TDS sensor temperature and value<br />&nbsp; gravityTds.setTemperature(tempC);<br />&nbsp; gravityTds.update();<br />&nbsp; tdsValue = gravityTds.getTdsValue();<br />&nbsp; RemoteXY.tdsValue = tdsValue;<br />&nbsp; <br />&nbsp; // Read turbidity sensor<br />&nbsp; int sensorValue = analogRead(sensorpin);<br />&nbsp; int turbidity = map(sensorValue, 0, 750, 100, 0);<br />&nbsp; RemoteXY.turbidity = turbidity;</p><p>&nbsp; // Read pH sensor<br />&nbsp; int measurings = 0;<br />&nbsp; for (int i = 0; i &lt; samples; i++) {<br />&nbsp; &nbsp; measurings += analogRead(pHSense);<br />&nbsp; &nbsp; delay(10);<br />&nbsp; }<br />&nbsp; &nbsp;float voltage = 5.0 / adc_resolution * measurings / samples;<br />&nbsp; float pHValue = ph(voltage);<br />&nbsp; RemoteXY.phValue = pHValue;</p><p>&nbsp; // Debug prints (optional)<br />&nbsp; Serial.print(&quot;TDS: &quot;);<br />&nbsp; Serial.print(tdsValue);<br />&nbsp; Serial.println(&quot; ppm&quot;);<br />&nbsp; <br />&nbsp; Serial.print(&quot;Temp: &quot;);<br />&nbsp; Serial.print(tempC);<br />&nbsp; Serial.println(&quot; C&quot;);<br />&nbsp; <br />&nbsp; Serial.print(&quot;Turbidity: &quot;);<br />&nbsp; Serial.println(turbidity);<br />&nbsp; <br />&nbsp; Serial.print(&quot;pH: &quot;);<br />&nbsp; Serial.println(pHValue);<br />&nbsp; <br />&nbsp; delay(1000);<br />&nbsp; &nbsp;</p><br /><p>}</p>]]></description>
			<author><![CDATA[null@example.com (eng200637)]]></author>
			<pubDate>Thu, 19 Sep 2024 15:24:55 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=5691#p5691</guid>
		</item>
	</channel>
</rss>
