<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Nano works perfectly but impossible to repeat it with Mega 2560]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=746</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=746&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Nano works perfectly but impossible to repeat it with Mega 2560.]]></description>
		<lastBuildDate>Fri, 02 Aug 2019 15:16:27 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Nano works perfectly but impossible to repeat it with Mega 2560]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=2327#p2327</link>
			<description><![CDATA[<p>Can&#039;t say anything until you don&#039;t post a picture of your circuit. A fritzing sketch would be good to go.<br />Show us your connections for better help.</p>]]></description>
			<author><![CDATA[null@example.com (naved.the.sheikh)]]></author>
			<pubDate>Fri, 02 Aug 2019 15:16:27 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=2327#p2327</guid>
		</item>
		<item>
			<title><![CDATA[Nano works perfectly but impossible to repeat it with Mega 2560]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=2244#p2244</link>
			<description><![CDATA[<p>Hi,</p><p>I bought PRO version and I&#039;m trying to make it works with my MEGA 2560 Mini.</p><p>My setup:<br />- 2pcs Bluetooth modules (HM10 clown)<br />- Arduino Nano (LED D13)<br />- Arduino Mega 2560 Mini (LED D13)<br />- RemoteXY PRO + latest lib + Arduino IDE<br />- Android Samsung phone<br />- Basic &quot;Blink&quot; BT HardSerial test program applied for testing</p><br /><p>A very strange thing is happening:<br />- D13 LED flashes as expected with both HM10 applied to Nano.<br />- BT connected but &quot;Device not reply. Receive time out error&quot; with both HM10 applied to Mega 2560 Mini !?!! <br />- RemoteXY editor: right MCU &quot;Mega 2560&quot; selected in config + HardSerial Rx0/Tx1. <br />- BLE paired &amp; Mega 2560 HardSerial is running well with any Hyperterminal over BT.</p><p>Any idea?</p><p>Thank :-)</p><br /><p>/* <br />&nbsp; &nbsp;-- Mega_2560_test -- <br />&nbsp; &nbsp; <br />&nbsp; &nbsp;This source code of graphical user interface&nbsp; <br />&nbsp; &nbsp;has been generated automatically by RemoteXY editor. <br />&nbsp; &nbsp;To compile this code using RemoteXY library 2.3.5 or later version&nbsp; <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.3.1 or later version; <br />&nbsp; &nbsp; &nbsp;- for iOS 1.3.5 or later version; <br />&nbsp; &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; &nbsp;<br />*/ </p><p>////////////////////////////////////////////// <br />//&nbsp; &nbsp; &nbsp; &nbsp; RemoteXY include library&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // <br />////////////////////////////////////////////// </p><p>// RemoteXY select connection mode and include library&nbsp; <br />#define REMOTEXY_MODE__HARDSERIAL</p><p>#include &lt;RemoteXY.h&gt; </p><p>// RemoteXY connection settings&nbsp; <br />#define REMOTEXY_SERIAL Serial <br />#define REMOTEXY_SERIAL_SPEED 38400 </p><br /><p>// RemoteXY configurate&nbsp; &nbsp;<br />#pragma pack(push, 1) <br />uint8_t RemoteXY_CONF[] = <br />&nbsp; { 255,1,0,0,0,13,0,8,13,0,<br />&nbsp; 1,0,23,17,12,12,2,31,88,0 }; <br />&nbsp; &nbsp;<br />// this structure defines all the variables of your control interface&nbsp; <br />struct { </p><p>&nbsp; &nbsp; // input variable<br />&nbsp; uint8_t button_1; // =1 if button pressed, else =0 </p><p>&nbsp; &nbsp; // other variable<br />&nbsp; uint8_t connect_flag;&nbsp; // =1 if wire connected, else =0 </p><p>} RemoteXY; <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_BUTTON_1 13</p><br /><p>void setup()&nbsp; <br />{ <br />&nbsp; RemoteXY_Init ();&nbsp; <br />&nbsp; &nbsp;<br />&nbsp; pinMode (PIN_BUTTON_1, OUTPUT);<br />&nbsp; &nbsp;<br />&nbsp; // TODO you setup code <br />&nbsp; &nbsp;<br />} </p><p>void loop()&nbsp; <br />{&nbsp; <br />&nbsp; RemoteXY_Handler (); <br />&nbsp; &nbsp;<br />&nbsp; digitalWrite(PIN_BUTTON_1, (RemoteXY.button_1==0)?LOW:HIGH);<br />&nbsp; &nbsp;<br />&nbsp; // TODO you loop code <br />&nbsp; // use the RemoteXY structure for data transfer </p><br /><p>}</p>]]></description>
			<author><![CDATA[null@example.com (KissInno)]]></author>
			<pubDate>Tue, 18 Jun 2019 20:33:46 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=2244#p2244</guid>
		</item>
	</channel>
</rss>
