<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Pls help need a timer.]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1798&amp;type=atom" />
	<updated>2024-05-29T21:33:45Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1798</id>
		<entry>
			<title type="html"><![CDATA[Re: Pls help need a timer.]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=5552#p5552" />
			<content type="html"><![CDATA[<p>Problem solved.<br />There is no community here the topic was there for how long and nobody was even bother to point to a direction this site shouldn&#039;t exist.</p>]]></content>
			<author>
				<name><![CDATA[gkapas9]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2765</uri>
			</author>
			<updated>2024-05-29T21:33:45Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=5552#p5552</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Pls help need a timer.]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=5515#p5515" />
			<content type="html"><![CDATA[<p>Hello all i was trying to make an app that simple send a signal to a relay and uses a timer. I am using an esp8266 the code wotks great but how can i edit the code and make it work with a countdown for example 60 seconds. Here is the code if someone can tell me what to edit would be great.<br />/*<br />&nbsp; &nbsp;-- New project --<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.10 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.13.11 or later version;<br />&nbsp; &nbsp; &nbsp;- for iOS 1.10.3 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__ESP8266WIFI_LIB_POINT</p><p>#include &lt;ESP8266WiFi.h&gt;</p><p>// RemoteXY connection settings <br />#define REMOTEXY_WIFI_SSID &quot;RemoteXY&quot;<br />#define REMOTEXY_WIFI_PASSWORD &quot;12345678&quot;<br />#define REMOTEXY_SERVER_PORT 6377</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;// 72 bytes<br />&nbsp; { 255,4,0,0,0,65,0,17,0,0,0,24,1,106,200,2,1,0,3,0,<br />&nbsp; 4,38,114,14,36,16,2,26,3,16,8,24,44,2,2,26,10,71,29,24,<br />&nbsp; 24,52,4,26,31,79,78,0,31,79,70,70,0,1,0,10,42,75,24,24,<br />&nbsp; 48,4,26,31,79,78,0,31,79,70,70,0 };<br />&nbsp; <br />// this structure defines all the variables and events of your control interface <br />struct {</p><p>&nbsp; &nbsp; // input variables<br />&nbsp; int8_t slider_01; // from 0 to 100<br />&nbsp; uint8_t select_01; // =0 if select position A, =1 if position B ...<br />&nbsp; uint8_t pushSwitch_01; // =1 if state is ON, else =0<br />&nbsp; uint8_t pushSwitch_02; // =1 if state is ON, else =0</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 />/////////////////////////////////////////////</p><p>#define PIN_PUSHSWITCH_01 D2</p><br /><p>void setup() <br />{<br />&nbsp; RemoteXY_Init (); <br />&nbsp; <br />&nbsp; pinMode (PIN_PUSHSWITCH_01, OUTPUT);<br />&nbsp; <br />&nbsp; // TODO you setup code<br />&nbsp; <br />}</p><p>void loop() <br />{ <br />&nbsp; RemoteXY_Handler ();<br />&nbsp; <br />&nbsp; digitalWrite(PIN_PUSHSWITCH_01, (RemoteXY.pushSwitch_01==0)?LOW:HIGH);<br />&nbsp; <br />&nbsp; // TODO you loop code<br />&nbsp; // use the RemoteXY structure for data transfer<br />&nbsp; // do not call delay(), use instead RemoteXY_delay() </p><br /><p>}</p>]]></content>
			<author>
				<name><![CDATA[gkapas9]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2765</uri>
			</author>
			<updated>2024-05-04T12:34:20Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=5515#p5515</id>
		</entry>
</feed>
