<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — RemoteXY Communication Failure Watch dog]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=1360</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1360&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in RemoteXY Communication Failure Watch dog.]]></description>
		<lastBuildDate>Sun, 08 Aug 2021 09:47:40 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: RemoteXY Communication Failure Watch dog]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=4186#p4186</link>
			<description><![CDATA[<p>Thank you mate, I will try your suggestion as well.</p>]]></description>
			<author><![CDATA[null@example.com (Mahen@Oz)]]></author>
			<pubDate>Sun, 08 Aug 2021 09:47:40 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=4186#p4186</guid>
		</item>
		<item>
			<title><![CDATA[Re: RemoteXY Communication Failure Watch dog]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=4184#p4184</link>
			<description><![CDATA[<p>On my tracked rover, I have this in my </p><div class="codebox"><pre><code>void loop()</code></pre></div><p>&nbsp; <br />In my case, it centers the joystick values (which programmatically stops the tracks as the following code takes those values and controls the motors) and flashes the headlight to signal loss of connection to the App.</p><div class="codebox"><pre><code>  // Connection Failsafe
  if (RemoteXY_isConnected() == 0) {
    RemoteXY.joystick_1_x = 0; // Set for dead stop
    RemoteXY.joystick_1_y = 0; // Set for dead stop
    // Flash headlamp LED when App not connected.
    digitalWrite(PIN_LED, !digitalRead(PIN_LED));
    delay(500);
  }</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Gunner)]]></author>
			<pubDate>Sun, 08 Aug 2021 09:34:22 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=4184#p4184</guid>
		</item>
		<item>
			<title><![CDATA[RemoteXY Communication Failure Watch dog]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=4180#p4180</link>
			<description><![CDATA[<p>I am a new user of this brilliant App. One thing that I found wanting was a comms failure watchdog. So I wrote this script. <br />It works!!. </p><p>Insert this at the top of your void loop.</p><p>void loop() <br />{&nbsp; &nbsp;<br />&nbsp; RemoteXY_Handler ();</p><p>&nbsp; if (RemoteXY.connect_flag==0){<br />&nbsp; <br />&nbsp; digitalWrite(PIN_SWITCH_1, LOW);<br />&nbsp; <br />}<br />&nbsp; else</p><p>&nbsp; digitalWrite(PIN_SWITCH_1, (RemoteXY.switch_1==0)?LOW:HIGH);<br />}</p>]]></description>
			<author><![CDATA[null@example.com (Mahen@Oz)]]></author>
			<pubDate>Fri, 06 Aug 2021 22:15:39 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=4180#p4180</guid>
		</item>
	</channel>
</rss>
