<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Проблема передачи]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=223</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=223&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Проблема передачи.]]></description>
		<lastBuildDate>Sun, 30 Jul 2017 18:19:26 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Проблема передачи]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=841#p841</link>
			<description><![CDATA[<p>Не используйте софт сериал на скорости выше 38400. Относится не только к RemoteXY.</p>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Sun, 30 Jul 2017 18:19:26 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=841#p841</guid>
		</item>
		<item>
			<title><![CDATA[Re: Проблема передачи]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=838#p838</link>
			<description><![CDATA[<p>В модуле БТ снизил скорость до 9600 - проблема исчезла</p>]]></description>
			<author><![CDATA[null@example.com (qwe)]]></author>
			<pubDate>Sun, 30 Jul 2017 12:23:56 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=838#p838</guid>
		</item>
		<item>
			<title><![CDATA[Проблема передачи]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=837#p837</link>
			<description><![CDATA[<p>Делаю скетч, просто один джойстик и пытаюсь ловить приходящие значения X Y.</p><p>Какая то фигня получается ((</p><p>- Двигаю джойстик<br />- XY либо не меняются<br />- Либо меняются сразу <br />- Либо меняются через неск секунд</p><p>Ну и если дебаг включаю нативный, там тоже приход данных совсем не коррелируется по времени с моими движениями.</p><p>Цепляюсь нанкой через SoftwareSerial(2,3) к BTBEE PRO (через делитель напряжения)</p><p>Библиотека - загрузил 2 часа назад с вашего сайта (новая). Приложение тоже новое.</p><p>Что не так?</p><div class="codebox"><pre><code>/* 
   -- New project -- 
    
   This source code of graphical user interface  
   has been generated automatically by RemoteXY editor. 
   To compile this code using RemoteXY library 2.3.1 or later version  
   download by link http://remotexy.com/en/library/ 
   To connect using RemoteXY mobile app by link http://remotexy.com/en/download/                    
     - for ANDROID 4.0.1 or later version; 
     - for iOS 1.1.0 or later version; 
     
   This source code is free software; you can redistribute it and/or 
   modify it under the terms of the GNU Lesser General Public 
   License as published by the Free Software Foundation; either 
   version 2.1 of the License, or (at your option) any later version.     
*/ 

////////////////////////////////////////////// 
//        RemoteXY include library          // 
////////////////////////////////////////////// 

// определение режима соединения и подключение библиотеки RemoteXY  
#define REMOTEXY_MODE__SOFTSERIAL
#include &lt;SoftwareSerial.h&gt; 

#include &lt;RemoteXY.h&gt; 

// настройки соединения  
#define REMOTEXY_SERIAL_RX 2 
#define REMOTEXY_SERIAL_TX 3 
#define REMOTEXY_SERIAL_SPEED 115200 


// конфигурация интерфейса   
#pragma pack(push, 1) 
uint8_t RemoteXY_CONF[] = 
  { 255,2,0,0,0,10,0,6,5,0,
  5,0,34,18,30,30,2 }; 
   
// структура определяет все переменные вашего интерфейса управления  
struct { 

    // input variable
  int8_t joystick_1_x; // =-100..100 координата x положения джойстика 
  int8_t joystick_1_y; // =-100..100 координата y положения джойстика 

    // other variable
  uint8_t connect_flag;  // =1 if wire connected, else =0 

} RemoteXY; 
#pragma pack(pop) 

///////////////////////////////////////////// 
//           END RemoteXY include          // 
///////////////////////////////////////////// 



void setup()  
{ 
  RemoteXY_Init ();  
   
   
  // TODO you setup code 
   Serial.begin(9600);
} 

void loop()  
{  
  RemoteXY_Handler (); 
   
     Serial.print(&quot;X: &quot;);Serial.print(RemoteXY.joystick_1_x);
  Serial.print(&quot; Y: &quot;);Serial.print(RemoteXY.joystick_1_y);
  Serial.print(&quot;\n&quot;);
  return;
  // TODO you loop code 
  // используйте структуру RemoteXY для передачи данных 


}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (qwe)]]></author>
			<pubDate>Sat, 29 Jul 2017 09:49:51 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=837#p837</guid>
		</item>
	</channel>
</rss>
