<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Подскажите пожайлуста. Почеиу я не могу подключить RGB]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=880</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=880&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Подскажите пожайлуста. Почеиу я не могу подключить RGB.]]></description>
		<lastBuildDate>Tue, 05 Jan 2021 16:54:53 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Подскажите пожайлуста. Почеиу я не могу подключить RGB]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=3516#p3516</link>
			<description><![CDATA[<p>Ну, а где в коде подключенная бибилиотека адрессных светодиодов? И где в коде подключение и управление адресской?</p>]]></description>
			<author><![CDATA[null@example.com (Dr_Off)]]></author>
			<pubDate>Tue, 05 Jan 2021 16:54:53 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=3516#p3516</guid>
		</item>
		<item>
			<title><![CDATA[Подскажите пожайлуста. Почеиу я не могу подключить RGB]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=2505#p2505</link>
			<description><![CDATA[<p>Подскажите пожайлуста. Почеиу я не могу подключить RGB круг к адресной ленте WS2812.<br />Как только загружаешь скейч, телефон запускает подключаеться к ардуине, но управлять не чем не могу, и через сикунд 10 выбивает. <br />вот сам скейч.<br />Заранее спасибо.</p><p>-- New project -- <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.4.3 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__ESP8266_SOFTSERIAL_POINT<br />#include &lt;SoftwareSerial.h&gt; </p><p>#include &lt;RemoteXY.h&gt; </p><p>// RemoteXY connection settings&nbsp; <br />#define REMOTEXY_SERIAL_RX 2 <br />#define REMOTEXY_SERIAL_TX 3 <br />#define REMOTEXY_SERIAL_SPEED 9600 <br />#define REMOTEXY_WIFI_SSID &quot;RemoteXY&quot; <br />#define REMOTEXY_WIFI_PASSWORD &quot;12345678&quot; <br />#define REMOTEXY_SERVER_PORT 6377 </p><br /><p>// RemoteXY configurate&nbsp; &nbsp;<br />#pragma pack(push, 1) <br />uint8_t RemoteXY_CONF[] = <br />&nbsp; { 255,5,0,0,0,36,0,8,13,0,<br />&nbsp; 6,0,57,11,37,37,2,26,2,0,<br />&nbsp; 19,40,22,11,2,26,31,31,79,78,<br />&nbsp; 0,79,70,70,0,4,0,11,10,7,<br />&nbsp; 18,2,26 }; <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 rgb_1_r; // =0..255 Red color value <br />&nbsp; uint8_t rgb_1_g; // =0..255 Green color value <br />&nbsp; uint8_t rgb_1_b; // =0..255 Blue color value <br />&nbsp; uint8_t switch_1; // =1 if switch ON and =0 if OFF <br />&nbsp; int8_t slider_1; // =0..100 slider position </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_SWITCH_1 13</p><br /><p>void setup()&nbsp; <br />{ <br />&nbsp; RemoteXY_Init ();&nbsp; <br />&nbsp; &nbsp;<br />&nbsp; pinMode (PIN_SWITCH_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_SWITCH_1, (RemoteXY.switch_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 (andrey1998997)]]></author>
			<pubDate>Fri, 24 Jan 2020 16:46:26 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=2505#p2505</guid>
		</item>
	</channel>
</rss>
