<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — user setup and loop]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=922</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=922&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in user setup and loop.]]></description>
		<lastBuildDate>Fri, 13 Mar 2020 00:36:09 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: user setup and loop]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=2684#p2684</link>
			<description><![CDATA[<p>kinda true unless you have linked output pins to buttons.</p><p>resulting code below the #pragma pack(pop) </p><p>#define PIN_FANSWITCH D4<br />#define PIN_HUMIDIFIERSWITCH D4<br />#define PIN_HEATERSWITCH D4</p><br /><p>void setup() <br />{<br />&nbsp; RemoteXY_Init (); <br />&nbsp; <br />&nbsp; pinMode (PIN_FANSWITCH, OUTPUT);<br />&nbsp; pinMode (PIN_HUMIDIFIERSWITCH, OUTPUT);<br />&nbsp; pinMode (PIN_HEATERSWITCH, OUTPUT);<br />&nbsp; <br />&nbsp; // TODO you setup code<br />&nbsp; </p><p>void loop() <br />{ <br />&nbsp; RemoteXY_Handler ();<br />&nbsp; <br />&nbsp; digitalWrite(PIN_FANSWITCH, (RemoteXY.fanSwitch==0)?LOW:HIGH);<br />&nbsp; digitalWrite(PIN_HUMIDIFIERSWITCH, (RemoteXY.humidifierSwitch==0)?LOW:HIGH);<br />&nbsp; digitalWrite(PIN_HEATERSWITCH, (RemoteXY.heaterSwitch==0)?LOW:HIGH);<br />&nbsp; <br />&nbsp; // TODO you loop code<br />&nbsp; // use the RemoteXY structure for data transfer</p>]]></description>
			<author><![CDATA[null@example.com (chrismolloy)]]></author>
			<pubDate>Fri, 13 Mar 2020 00:36:09 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=2684#p2684</guid>
		</item>
		<item>
			<title><![CDATA[Re: user setup and loop]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=2665#p2665</link>
			<description><![CDATA[<p>When you change something in the editor, you only need to copy what is between the #pragma pack directives into your code.</p>]]></description>
			<author><![CDATA[null@example.com (Guillaume)]]></author>
			<pubDate>Wed, 11 Mar 2020 12:10:35 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=2665#p2665</guid>
		</item>
		<item>
			<title><![CDATA[Re: user setup and loop]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=2663#p2663</link>
			<description><![CDATA[<p>Maybe you could make it optional.<br />I may revise a form a lot of times until I like it.&nbsp; That means editing that file numerous times.</p><p>Is there any work being done on this app?</p>]]></description>
			<author><![CDATA[null@example.com (chrismolloy)]]></author>
			<pubDate>Tue, 10 Mar 2020 23:34:30 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=2663#p2663</guid>
		</item>
		<item>
			<title><![CDATA[Re: user setup and loop]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=2659#p2659</link>
			<description><![CDATA[<p>It is good idea. But for beginners it will be hard. You can do it yourself.</p>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Tue, 10 Mar 2020 04:07:40 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=2659#p2659</guid>
		</item>
		<item>
			<title><![CDATA[user setup and loop]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=2654#p2654</link>
			<description><![CDATA[<p>it would make it easier to update screen design if <br />setup() included userSetup() call and Loop() included userLoop() call<br />then you can use another tab for your code with userSetup() and userLoop() in it.<br />This way you can change the design of the screens and simply copy paste the code into you code and it automatically links in to your code.</p>]]></description>
			<author><![CDATA[null@example.com (chrismolloy)]]></author>
			<pubDate>Tue, 10 Mar 2020 03:21:13 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=2654#p2654</guid>
		</item>
	</channel>
</rss>
