<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — send a value from the mcu to an app edit field, a switch or a button ?]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1614&amp;type=atom" />
	<updated>2023-03-10T09:33:31Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1614</id>
		<entry>
			<title type="html"><![CDATA[Re: send a value from the mcu to an app edit field, a switch or a button ?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=5042#p5042" />
			<content type="html"><![CDATA[<p>The function of changing the state of switches from the controller is supported. But you should only do this when you really need to change the state of the switch. This cannot be done in every loop() cycle.</p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2023-03-10T09:33:31Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=5042#p5042</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[send a value from the mcu to an app edit field, a switch or a button ?]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=5017#p5017" />
			<content type="html"><![CDATA[<p>Hi,</p><p>Is it ok to send a value from the MCU to the GUI for inputs like edit field, a switch or a button.</p><p>Exemples : <br />&nbsp; RemoteXY.switch_1 = 0;<br />&nbsp; RemoteXY.edit_field_1 = constrain(RemoteXY.edit_field_1,0,100);</p><p>I&#039;ve done it in my sketch, it work, but connection between MCU and RemoteXY app seems less stable when I&#039;m using those kinf of command to correct some input form the GUI. Like if a want to correct a out off range value from the GUI...</p><p>So is assigning a value to those field from the MCU can make the App or communication goes down, or bugging the app ??</p><p>thank you !</p>]]></content>
			<author>
				<name><![CDATA[sbarabe]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2214</uri>
			</author>
			<updated>2023-02-23T21:00:42Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=5017#p5017</id>
		</entry>
</feed>
