<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Integrate timer feature into RemoteXY App]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=1499</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1499&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Integrate timer feature into RemoteXY App.]]></description>
		<lastBuildDate>Sat, 23 Jul 2022 01:49:01 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Integrate timer feature into RemoteXY App]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=4744#p4744</link>
			<description><![CDATA[<p>You didn&#039;t mention On delay or Off delay. Please describe a little bit brief<br />and Ex. use simply millis() function and the important is using millis() function after approximately 50 days the timer wraps round to zero.<br /></p><div class="codebox"><pre><code>#define EXE_INTERVAL 1000  //delay time in milli seconds(1000 = 1seconds)

unsigned long lastExecutedMillis = 0; // vairable to save the last executed time

void setup() {
  /*******************
   *  your setup code
   *******************/
}

void loop() {
  unsigned long currentMillis = millis();

  if (currentMillis - lastExecutedMillis &gt;= EXE_INTERVAL) {
    lastExecutedMillis = currentMillis; // save the last executed time

    /******************
     * your code block
     ******************/
  }
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Ghostwarrior)]]></author>
			<pubDate>Sat, 23 Jul 2022 01:49:01 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=4744#p4744</guid>
		</item>
		<item>
			<title><![CDATA[Integrate timer feature into RemoteXY App]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=4659#p4659</link>
			<description><![CDATA[<p>I am presently working on a project that requires a timer.<br />I would like to set time for the appliances on my home automation system to come up.<br />I will appreciate if you can make this update as soon as possible.<br />Thank you</p>]]></description>
			<author><![CDATA[null@example.com (samjubril)]]></author>
			<pubDate>Mon, 23 May 2022 13:11:20 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=4659#p4659</guid>
		</item>
	</channel>
</rss>
