<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Sending a string instead of switching a pin on/off]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=949&amp;type=atom" />
	<updated>2020-03-30T16:32:48Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=949</id>
		<entry>
			<title type="html"><![CDATA[Re: Sending a string instead of switching a pin on/off]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2749#p2749" />
			<content type="html"><![CDATA[<p>Not sure to understand your demand … mybe with this ?&nbsp; but it seems to be to simple ...</p><p>Code1=a6b4c<br />if(RemoteXY.button1=1) {<br />Serial.println(Code1)<br />}</p>]]></content>
			<author>
				<name><![CDATA[Jpma]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=502</uri>
			</author>
			<updated>2020-03-30T16:32:48Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2749#p2749</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Sending a string instead of switching a pin on/off]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=2747#p2747" />
			<content type="html"><![CDATA[<p>Hi, <br />Had a play with this but struggling to find an answer, i can set up RemoteXY with the app and a EPS32 to switch leds on off etc.&nbsp; I want to now send a pre set and defined string out rather than switch a pin on/off.<br />Cant seem to find the syntax for doing this within the setting up of the code.</p><p>EG i have a string Code1=&quot;a6b4c&quot; and i want to send this out to the serial port when Button 1 is pressed on the app.<br />Code2 to go when button 2 is pressed etc etc .</p><p>The app is connected via WiFi not Bluetooth as this isnt an option.</p><p>ideas greatly received.<br />Thanks, <br />Mike</p>]]></content>
			<author>
				<name><![CDATA[lifescape50]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1290</uri>
			</author>
			<updated>2020-03-30T12:34:29Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=2747#p2747</id>
		</entry>
</feed>
