<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — Esp32 Bluetooth problem]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1548&amp;type=atom" />
	<updated>2022-11-22T05:30:15Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1548</id>
		<entry>
			<title type="html"><![CDATA[Re: Esp32 Bluetooth problem]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4871#p4871" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Daba wrote:</cite><blockquote><p>When will 3.1.10 be updatable from Arduino Library Manager ?<br />I have 3.1.9 installed, but no update to 3.1.10 is available.</p></blockquote></div><p>Very soon</p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2022-11-22T05:30:15Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4871#p4871</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Esp32 Bluetooth problem]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4864#p4864" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>remotexy wrote:</cite><blockquote><p>Yes, we reproduced the bug<br />The problem is related to send buffer overflow of ESP32 BLEDevice library. More than 600 bytes are not sent without temporary pauses.<br />This will be fixed in the next release of the library 3.1.10<br />Now you can apdate RemoteXYStream_BLEDevice.h library file from github link <a target="_blank" href="https://github.com/RemoteXY/RemoteXY-Arduino-library/tree/master/src">https://github.com/RemoteXY/RemoteXY-Ar … master/src</a></p></blockquote></div><p>When will 3.1.10 be updatable from Arduino Library Manager ?</p><p>I have 3.1.9 installed, but no update to 3.1.10 is available.</p>]]></content>
			<author>
				<name><![CDATA[Daba]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=630</uri>
			</author>
			<updated>2022-11-20T23:34:14Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4864#p4864</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Esp32 Bluetooth problem]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4859#p4859" />
			<content type="html"><![CDATA[<p>yes my problem is solved thank you very much indeed</p><div class="quotebox"><cite>remotexy wrote:</cite><blockquote><p>Yes, we reproduced the bug<br />The problem is related to send buffer overflow of ESP32 BLEDevice library. More than 600 bytes are not sent without temporary pauses.<br />This will be fixed in the next release of the library 3.1.10<br />Now you can apdate RemoteXYStream_BLEDevice.h library file from github link <a target="_blank" href="https://github.com/RemoteXY/RemoteXY-Arduino-library/tree/master/src">https://github.com/RemoteXY/RemoteXY-Ar … master/src</a></p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[ogunekici]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2226</uri>
			</author>
			<updated>2022-11-15T13:10:19Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4859#p4859</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Esp32 Bluetooth problem]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4858#p4858" />
			<content type="html"><![CDATA[<p>Yes, we reproduced the bug<br />The problem is related to send buffer overflow of ESP32 BLEDevice library. More than 600 bytes are not sent without temporary pauses.<br />This will be fixed in the next release of the library 3.1.10<br />Now you can apdate RemoteXYStream_BLEDevice.h library file from github link <a target="_blank" href="https://github.com/RemoteXY/RemoteXY-Arduino-library/tree/master/src">https://github.com/RemoteXY/RemoteXY-Ar … master/src</a></p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2022-11-15T08:20:59Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4858#p4858</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Esp32 Bluetooth problem]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4857#p4857" />
			<content type="html"><![CDATA[<p>hello, did you find a solution?</p>]]></content>
			<author>
				<name><![CDATA[ogunekici]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2226</uri>
			</author>
			<updated>2022-11-15T07:47:59Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4857#p4857</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Esp32 Bluetooth problem]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4854#p4854" />
			<content type="html"><![CDATA[<p>ok, I will apply it in the next image upload, you can try it with ios, I would be very happy</p>]]></content>
			<author>
				<name><![CDATA[ogunekici]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2226</uri>
			</author>
			<updated>2022-11-09T08:22:17Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4854#p4854</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Esp32 Bluetooth problem]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4853#p4853" />
			<content type="html"><![CDATA[<p>Please copy the URL of image using right click to insert in forum, not link of browser.<br />I see you use the iOS. We tested on Android. We will test it on iOs.</p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2022-11-09T06:10:57Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4853#p4853</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Esp32 Bluetooth problem]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4850#p4850" />
			<content type="html"><![CDATA[<p>I also tried this project but I am getting the problems in the image</p><p><span class="postimg"><img src="https://i.ibb.co/rQQspkt/Whats-App-Image-2022-11-07-at-23-18-10.jpg" alt="https://i.ibb.co/rQQspkt/Whats-App-Image-2022-11-07-at-23-18-10.jpg" /></span><br /><span class="postimg"><img src="https://i.ibb.co/xXCKbLT/Whats-App-Image-2022-11-07-at-23-18-08.jpg" alt="https://i.ibb.co/xXCKbLT/Whats-App-Image-2022-11-07-at-23-18-08.jpg" /></span><br /></p><div class="quotebox"><cite>remotexy wrote:</cite><blockquote><p>We have tested the interface without your additional code. It works.</p><div class="codebox"><pre><code>/*

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

// RemoteXY select connection mode and include library
#define REMOTEXY_MODE__ESP32CORE_BLE
#include &lt;BLEDevice.h&gt;

#include &lt;RemoteXY.h&gt;

// RemoteXY connection settings
#define REMOTEXY_BLUETOOTH_NAME &quot;RemoteXY&quot;




// RemoteXY configurate 
#pragma pack(push, 1)
uint8_t RemoteXY_CONF[] =   // 1402 bytes
  { 255,110,0,148,0,115,5,16,28,6,130,1,2,2,29,45,25,4,27,35,
  8,17,1,0,13,1,61,61,3,12,56,56,5,27,31,0,6,0,14,2,
  59,59,4,13,54,54,5,2,26,131,0,77,16,20,7,42,79,19,6,3,
  2,31,0,1,0,13,1,61,61,3,12,56,56,3,27,31,0,6,0,14,
  2,59,59,4,13,54,54,3,2,26,130,1,32,2,37,40,2,4,22,41,
  8,17,1,0,1,2,10,10,1,1,10,10,1,135,31,79,78,0,1,0,
  1,16,10,10,52,1,10,10,1,1,31,79,70,70,0,131,0,77,0,20,
  7,2,79,19,6,1,2,31,0,131,0,77,8,20,7,22,79,19,6,2,
  2,31,0,1,0,13,1,61,61,3,12,56,56,2,27,31,0,6,0,14,
  2,59,59,4,13,54,54,2,2,26,1,0,1,2,10,10,1,1,10,10,
  2,135,31,79,78,0,1,0,1,16,10,10,52,1,10,10,2,1,31,79,
  70,70,0,1,0,1,16,10,10,52,1,10,10,3,1,31,79,70,70,0,
  1,0,1,2,10,10,1,1,10,10,3,135,31,79,78,0,131,0,77,24,
  20,7,2,86,19,6,4,2,31,0,1,0,1,2,10,10,1,1,10,10,
  4,135,31,79,78,0,1,0,1,16,10,10,52,1,10,10,4,1,31,79,
  70,70,0,131,0,77,32,20,7,42,86,19,6,5,2,31,0,1,0,1,
  2,10,10,1,1,10,10,5,135,31,79,78,0,1,0,1,16,10,10,52,
  1,10,10,5,1,31,79,70,70,0,131,1,77,40,20,7,2,93,19,6,
  6,2,31,84,195,156,77,0,1,0,1,51,10,10,52,1,10,10,6,1,
  31,79,70,70,0,131,0,77,48,20,7,22,86,19,6,7,2,31,75,65,
  89,73,84,0,1,1,2,2,69,13,5,11,53,13,7,26,31,0,1,1,
  2,17,69,13,5,27,53,13,7,26,31,0,1,1,2,32,69,13,5,43,
  53,13,7,26,31,0,1,1,2,47,69,13,5,59,53,13,7,26,31,0,
  1,0,13,1,61,61,3,12,56,56,1,27,31,0,6,0,14,2,59,59,
  4,13,54,54,1,2,26,1,0,13,1,61,61,3,12,56,56,4,27,31,
  0,6,0,14,2,59,59,4,13,54,54,4,2,26,1,0,13,1,61,61,
  1,12,61,61,6,27,31,0,6,0,14,2,59,59,2,13,59,59,6,2,
  26,1,0,1,2,10,10,1,1,10,10,6,135,31,79,78,0,1,0,1,
  38,10,10,2,68,10,10,1,31,31,0,65,112,2,39,8,8,3,69,8,
  8,1,1,0,1,50,10,10,51,68,10,10,1,31,31,0,65,112,2,51,
  8,8,52,69,8,8,1,1,0,1,38,10,10,2,68,10,10,2,31,31,
  0,1,0,1,50,10,10,51,68,10,10,2,31,31,0,65,112,2,51,8,
  8,52,69,8,8,2,65,112,2,39,8,8,3,69,8,8,2,1,0,1,
  38,10,10,2,68,10,10,3,31,31,0,1,0,1,50,10,10,51,68,10,
  10,3,31,31,0,65,112,2,51,8,8,52,69,8,8,3,65,112,2,39,
  8,8,3,69,8,8,3,1,0,1,38,10,10,2,68,10,10,4,31,31,
  0,1,0,1,50,10,10,51,68,10,10,4,31,31,0,65,112,2,51,8,
  8,52,69,8,8,4,65,112,2,39,8,8,3,69,8,8,4,1,0,1,
  38,10,10,2,68,10,10,5,31,31,0,65,112,2,39,8,8,3,69,8,
  8,5,1,0,1,50,10,10,51,68,10,10,5,31,31,0,65,112,2,51,
  8,8,52,69,8,8,5,131,0,77,56,20,7,22,93,19,6,8,2,31,
  65,89,65,82,76,65,82,0,7,36,3,33,27,5,3,33,20,5,8,2,
  26,2,6,1,1,3,39,27,7,4,39,18,5,8,2,31,75,65,89,68,
  69,84,0,65,113,4,4,9,9,7,13,9,9,7,65,113,17,4,9,9,
  17,13,9,9,7,65,113,31,4,9,9,27,13,9,9,7,65,113,46,4,
  9,9,37,13,9,9,7,65,113,60,4,9,9,47,13,9,9,7,65,113,
  17,19,9,9,17,29,9,9,7,65,113,4,19,9,9,7,29,9,9,7,
  65,113,31,19,9,9,27,29,9,9,7,65,113,46,19,9,9,37,29,9,
  9,7,65,113,60,19,9,9,47,29,9,9,7,65,113,17,34,9,9,17,
  45,9,9,7,65,113,4,34,9,9,7,45,9,9,7,65,113,31,34,9,
  9,27,45,9,9,7,65,113,46,34,9,9,37,45,9,9,7,65,113,60,
  34,9,9,47,45,9,9,7,65,113,17,49,9,9,17,61,9,9,7,65,
  113,4,49,9,9,7,61,9,9,7,65,113,31,49,9,9,27,61,9,9,
  7,65,113,46,49,9,9,37,61,9,9,7,65,113,60,49,9,9,47,61,
  9,9,7,7,36,3,27,27,5,3,27,20,5,8,2,26,2,6,7,36,
  3,21,27,5,3,21,20,5,8,2,26,2,6,7,36,3,15,27,5,3,
  15,20,5,8,2,26,2,6,7,36,3,9,27,5,3,9,20,5,8,2,
  26,2,6,129,0,3,4,27,4,3,5,20,3,8,24,82,71,66,32,73,
  83,73,77,76,69,82,73,0,1,1,33,33,35,8,27,33,23,5,8,2,
  31,75,65,89,68,69,84,0,7,36,33,27,35,5,26,27,25,5,8,2,
  26,2,7,7,36,33,21,35,5,26,21,25,5,8,2,26,2,7,7,36,
  33,15,35,5,26,15,25,5,8,2,26,2,7,7,36,33,9,35,5,26,
  9,25,5,8,2,26,2,7,129,0,33,3,34,4,26,5,25,3,8,24,
  80,82,69,83,69,84,32,73,83,73,77,76,69,82,73,0,67,1,17,5,
  38,7,17,14,29,7,7,31,26,7,67,1,17,20,38,7,17,30,29,7,
  7,31,26,7,67,1,17,35,38,7,17,46,29,7,7,31,26,7,67,1,
  17,50,38,7,17,62,29,7,7,31,26,7,67,1,77,1,20,5,3,79,
  17,6,0,31,26,6,67,1,77,9,20,5,23,79,17,6,0,31,26,6,
  67,1,77,17,20,5,43,79,17,6,0,31,26,6,67,1,77,25,20,5,
  3,86,17,6,0,31,26,6,67,1,77,33,20,5,43,86,17,6,0,31,
  26,6 };
 
// this structure defines all the variables and events of your control interface
struct {

    // input variables
  uint8_t RGB5TETIK; // =1 if button pressed, else =0
  uint8_t RGB_5_r; // =0..255 Red color value
  uint8_t RGB_5_g; // =0..255 Green color value
  uint8_t RGB_5_b; // =0..255 Blue color value
  uint8_t RGB3TETIK; // =1 if button pressed, else =0
  uint8_t RGB_3_r; // =0..255 Red color value
  uint8_t RGB_3_g; // =0..255 Green color value
  uint8_t RGB_3_b; // =0..255 Blue color value
  uint8_t RGB1ALLON; // =1 if button pressed, else =0
  uint8_t RGB1ALLOFF; // =1 if button pressed, else =0
  uint8_t RGB2TETIK; // =1 if button pressed, else =0
  uint8_t RGB_2_r; // =0..255 Red color value
  uint8_t RGB_2_g; // =0..255 Green color value
  uint8_t RGB_2_b; // =0..255 Blue color value
  uint8_t RGB2ALLON; // =1 if button pressed, else =0
  uint8_t RGB2ALLOFF; // =1 if button pressed, else =0
  uint8_t RGB3ALLOFF; // =1 if button pressed, else =0
  uint8_t RGB3ALLON; // =1 if button pressed, else =0
  uint8_t RGB4ALLON; // =1 if button pressed, else =0
  uint8_t RGB4ALLOFF; // =1 if button pressed, else =0
  uint8_t RGB5ALLON; // =1 if button pressed, else =0
  uint8_t RGB5ALLOFF; // =1 if button pressed, else =0
  uint8_t ALLRGBOFF; // =1 if button pressed, else =0
  uint8_t PRESET1; // =1 if button pressed, else =0
  uint8_t PRESET2; // =1 if button pressed, else =0
  uint8_t PRESET3; // =1 if button pressed, else =0
  uint8_t PRESET4; // =1 if button pressed, else =0
  uint8_t RGB1TETIK; // =1 if button pressed, else =0
  uint8_t RGB_1_r; // =0..255 Red color value
  uint8_t RGB_1_g; // =0..255 Green color value
  uint8_t RGB_1_b; // =0..255 Blue color value
  uint8_t RGB4TETIK; // =1 if button pressed, else =0
  uint8_t RGB_4_r; // =0..255 Red color value
  uint8_t RGB_4_g; // =0..255 Green color value
  uint8_t RGB_4_b; // =0..255 Blue color value
  uint8_t ALLRGBTETIK; // =1 if button pressed, else =0
  uint8_t ALLRGB_r; // =0..255 Red color value
  uint8_t ALLRGB_g; // =0..255 Green color value
  uint8_t ALLRGB_b; // =0..255 Blue color value
  uint8_t ALLRGBON; // =1 if button pressed, else =0
  uint8_t RGB1PRESET1; // =1 if button pressed, else =0
  uint8_t RGB1PRESET2; // =1 if button pressed, else =0
  uint8_t RGB2PRESET1; // =1 if button pressed, else =0
  uint8_t RGB2PRESET2; // =1 if button pressed, else =0
  uint8_t RGB3PRESET1; // =1 if button pressed, else =0
  uint8_t RGB3PRESET2; // =1 if button pressed, else =0
  uint8_t RGB4PRESET1; // =1 if button pressed, else =0
  uint8_t RGB4PRESET2; // =1 if button pressed, else =0
  uint8_t RGB5PRESET1; // =1 if button pressed, else =0
  uint8_t RGB5PRESET2; // =1 if button pressed, else =0
  char RGB5NAMESAVE[6];  // string UTF8 end zero 
  uint8_t RGBNAMESAVE; // =1 if button pressed, else =0
  char RGB4NAMESAVE[6];  // string UTF8 end zero 
  char RGB3NAMESAVE[6];  // string UTF8 end zero 
  char RGB2NAMESAVE[6];  // string UTF8 end zero 
  char RGB1NAMESAVE[6];  // string UTF8 end zero 
  uint8_t PRESETNAMESAVE; // =1 if button pressed, else =0
  char PRESET4NAMESAVE[7];  // string UTF8 end zero 
  char PRESET3NAMESAVE[7];  // string UTF8 end zero 
  char PRESET2NAMESAVE[7];  // string UTF8 end zero 
  char PRESET1NAMESAVE[7];  // string UTF8 end zero 
  float accelerometer_x;
  float accelerometer_y;
  float accelerometer_z;

    // output variables
  uint8_t RGB1PRESET1LED_r; // =0..255 LED Red brightness
  uint8_t RGB1PRESET1LED_g; // =0..255 LED Green brightness
  uint8_t RGB1PRESET1LED_b; // =0..255 LED Blue brightness
  uint8_t RGB1PRESET2LED_r; // =0..255 LED Red brightness
  uint8_t RGB1PRESET2LED_g; // =0..255 LED Green brightness
  uint8_t RGB1PRESET2LED_b; // =0..255 LED Blue brightness
  uint8_t RGB2PRESET2LED_r; // =0..255 LED Red brightness
  uint8_t RGB2PRESET2LED_g; // =0..255 LED Green brightness
  uint8_t RGB2PRESET2LED_b; // =0..255 LED Blue brightness
  uint8_t RGB2PRESET1LED_r; // =0..255 LED Red brightness
  uint8_t RGB2PRESET1LED_g; // =0..255 LED Green brightness
  uint8_t RGB2PRESET1LED_b; // =0..255 LED Blue brightness
  uint8_t RGB3PRESET2LED_r; // =0..255 LED Red brightness
  uint8_t RGB3PRESET2LED_g; // =0..255 LED Green brightness
  uint8_t RGB3PRESET2LED_b; // =0..255 LED Blue brightness
  uint8_t RGB3PRESET1LED_r; // =0..255 LED Red brightness
  uint8_t RGB3PRESET1LED_g; // =0..255 LED Green brightness
  uint8_t RGB3PRESET1LED_b; // =0..255 LED Blue brightness
  uint8_t RGB4PRESET2LED_r; // =0..255 LED Red brightness
  uint8_t RGB4PRESET2LED_g; // =0..255 LED Green brightness
  uint8_t RGB4PRESET2LED_b; // =0..255 LED Blue brightness
  uint8_t RGB4PRESET1LED_r; // =0..255 LED Red brightness
  uint8_t RGB4PRESET1LED_g; // =0..255 LED Green brightness
  uint8_t RGB4PRESET1LED_b; // =0..255 LED Blue brightness
  uint8_t RGB5PRESET1LED_r; // =0..255 LED Red brightness
  uint8_t RGB5PRESET1LED_g; // =0..255 LED Green brightness
  uint8_t RGB5PRESET1LED_b; // =0..255 LED Blue brightness
  uint8_t RGB5PRESET2LED_r; // =0..255 LED Red brightness
  uint8_t RGB5PRESET2LED_g; // =0..255 LED Green brightness
  uint8_t RGB5PRESET2LED_b; // =0..255 LED Blue brightness
  uint8_t PRESET1RGBLED1_r; // =0..255 LED Red brightness
  uint8_t PRESET1RGBLED1_g; // =0..255 LED Green brightness
  uint8_t PRESET1RGBLED1_b; // =0..255 LED Blue brightness
  uint8_t PRESET1RGBLED2_r; // =0..255 LED Red brightness
  uint8_t PRESET1RGBLED2_g; // =0..255 LED Green brightness
  uint8_t PRESET1RGBLED2_b; // =0..255 LED Blue brightness
  uint8_t PRESET1RGBLED3_r; // =0..255 LED Red brightness
  uint8_t PRESET1RGBLED3_g; // =0..255 LED Green brightness
  uint8_t PRESET1RGBLED3_b; // =0..255 LED Blue brightness
  uint8_t PRESET1RGBLED4_r; // =0..255 LED Red brightness
  uint8_t PRESET1RGBLED4_g; // =0..255 LED Green brightness
  uint8_t PRESET1RGBLED4_b; // =0..255 LED Blue brightness
  uint8_t PRESET1RGBLED5_r; // =0..255 LED Red brightness
  uint8_t PRESET1RGBLED5_g; // =0..255 LED Green brightness
  uint8_t PRESET1RGBLED5_b; // =0..255 LED Blue brightness
  uint8_t PRESET2RGBLED2_r; // =0..255 LED Red brightness
  uint8_t PRESET2RGBLED2_g; // =0..255 LED Green brightness
  uint8_t PRESET2RGBLED2_b; // =0..255 LED Blue brightness
  uint8_t PRESET2RGBLED1_r; // =0..255 LED Red brightness
  uint8_t PRESET2RGBLED1_g; // =0..255 LED Green brightness
  uint8_t PRESET2RGBLED1_b; // =0..255 LED Blue brightness
  uint8_t PRESET2RGBLED3_r; // =0..255 LED Red brightness
  uint8_t PRESET2RGBLED3_g; // =0..255 LED Green brightness
  uint8_t PRESET2RGBLED3_b; // =0..255 LED Blue brightness
  uint8_t PRESET2RGBLED4_r; // =0..255 LED Red brightness
  uint8_t PRESET2RGBLED4_g; // =0..255 LED Green brightness
  uint8_t PRESET2RGBLED4_b; // =0..255 LED Blue brightness
  uint8_t PRESET2RGBLED5_r; // =0..255 LED Red brightness
  uint8_t PRESET2RGBLED5_g; // =0..255 LED Green brightness
  uint8_t PRESET2RGBLED5_b; // =0..255 LED Blue brightness
  uint8_t PRESET3RGBLED2_r; // =0..255 LED Red brightness
  uint8_t PRESET3RGBLED2_g; // =0..255 LED Green brightness
  uint8_t PRESET3RGBLED2_b; // =0..255 LED Blue brightness
  uint8_t PRESET3RGBLED1_r; // =0..255 LED Red brightness
  uint8_t PRESET3RGBLED1_g; // =0..255 LED Green brightness
  uint8_t PRESET3RGBLED1_b; // =0..255 LED Blue brightness
  uint8_t PRESET3RGBLED3_r; // =0..255 LED Red brightness
  uint8_t PRESET3RGBLED3_g; // =0..255 LED Green brightness
  uint8_t PRESET3RGBLED3_b; // =0..255 LED Blue brightness
  uint8_t PRESET3RGBLED4_r; // =0..255 LED Red brightness
  uint8_t PRESET3RGBLED4_g; // =0..255 LED Green brightness
  uint8_t PRESET3RGBLED4_b; // =0..255 LED Blue brightness
  uint8_t PRESET3RGBLED5_r; // =0..255 LED Red brightness
  uint8_t PRESET3RGBLED5_g; // =0..255 LED Green brightness
  uint8_t PRESET3RGBLED5_b; // =0..255 LED Blue brightness
  uint8_t PRESET4RGBLED2_r; // =0..255 LED Red brightness
  uint8_t PRESET4RGBLED2_g; // =0..255 LED Green brightness
  uint8_t PRESET4RGBLED2_b; // =0..255 LED Blue brightness
  uint8_t PRESET4RGBLED1_r; // =0..255 LED Red brightness
  uint8_t PRESET4RGBLED1_g; // =0..255 LED Green brightness
  uint8_t PRESET4RGBLED1_b; // =0..255 LED Blue brightness
  uint8_t PRESET4RGBLED3_r; // =0..255 LED Red brightness
  uint8_t PRESET4RGBLED3_g; // =0..255 LED Green brightness
  uint8_t PRESET4RGBLED3_b; // =0..255 LED Blue brightness
  uint8_t PRESET4RGBLED4_r; // =0..255 LED Red brightness
  uint8_t PRESET4RGBLED4_g; // =0..255 LED Green brightness
  uint8_t PRESET4RGBLED4_b; // =0..255 LED Blue brightness
  uint8_t PRESET4RGBLED5_r; // =0..255 LED Red brightness
  uint8_t PRESET4RGBLED5_g; // =0..255 LED Green brightness
  uint8_t PRESET4RGBLED5_b; // =0..255 LED Blue brightness
  char PRESET1NAME[7];  // string UTF8 end zero
  char PRESET2NAME[7];  // string UTF8 end zero
  char PRESET3NAME[7];  // string UTF8 end zero
  char PRESET4NAME[7];  // string UTF8 end zero
  char RGB1NAME[6];  // string UTF8 end zero
  char RGB2NAME[6];  // string UTF8 end zero
  char RGB3NAME[6];  // string UTF8 end zero
  char RGB4NAME[6];  // string UTF8 end zero
  char RGB5NAME[6];  // string UTF8 end zero

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

} RemoteXY;
#pragma pack(pop)





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


void setup() 
{
  RemoteXY_Init ();

}

void loop() 
{ 
  remotexy-&gt;handler ();
  
  // TODO you loop code
  // use the RemoteXY structure for data transfer
  // do not call delay() 


}</code></pre></div></blockquote></div>]]></content>
			<author>
				<name><![CDATA[ogunekici]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2226</uri>
			</author>
			<updated>2022-11-07T20:21:31Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4850#p4850</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Esp32 Bluetooth problem]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4849#p4849" />
			<content type="html"><![CDATA[<p>We have tested the interface without your additional code. It works.</p><div class="codebox"><pre><code>/*

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

// RemoteXY select connection mode and include library
#define REMOTEXY_MODE__ESP32CORE_BLE
#include &lt;BLEDevice.h&gt;

#include &lt;RemoteXY.h&gt;

// RemoteXY connection settings
#define REMOTEXY_BLUETOOTH_NAME &quot;RemoteXY&quot;




// RemoteXY configurate 
#pragma pack(push, 1)
uint8_t RemoteXY_CONF[] =   // 1402 bytes
  { 255,110,0,148,0,115,5,16,28,6,130,1,2,2,29,45,25,4,27,35,
  8,17,1,0,13,1,61,61,3,12,56,56,5,27,31,0,6,0,14,2,
  59,59,4,13,54,54,5,2,26,131,0,77,16,20,7,42,79,19,6,3,
  2,31,0,1,0,13,1,61,61,3,12,56,56,3,27,31,0,6,0,14,
  2,59,59,4,13,54,54,3,2,26,130,1,32,2,37,40,2,4,22,41,
  8,17,1,0,1,2,10,10,1,1,10,10,1,135,31,79,78,0,1,0,
  1,16,10,10,52,1,10,10,1,1,31,79,70,70,0,131,0,77,0,20,
  7,2,79,19,6,1,2,31,0,131,0,77,8,20,7,22,79,19,6,2,
  2,31,0,1,0,13,1,61,61,3,12,56,56,2,27,31,0,6,0,14,
  2,59,59,4,13,54,54,2,2,26,1,0,1,2,10,10,1,1,10,10,
  2,135,31,79,78,0,1,0,1,16,10,10,52,1,10,10,2,1,31,79,
  70,70,0,1,0,1,16,10,10,52,1,10,10,3,1,31,79,70,70,0,
  1,0,1,2,10,10,1,1,10,10,3,135,31,79,78,0,131,0,77,24,
  20,7,2,86,19,6,4,2,31,0,1,0,1,2,10,10,1,1,10,10,
  4,135,31,79,78,0,1,0,1,16,10,10,52,1,10,10,4,1,31,79,
  70,70,0,131,0,77,32,20,7,42,86,19,6,5,2,31,0,1,0,1,
  2,10,10,1,1,10,10,5,135,31,79,78,0,1,0,1,16,10,10,52,
  1,10,10,5,1,31,79,70,70,0,131,1,77,40,20,7,2,93,19,6,
  6,2,31,84,195,156,77,0,1,0,1,51,10,10,52,1,10,10,6,1,
  31,79,70,70,0,131,0,77,48,20,7,22,86,19,6,7,2,31,75,65,
  89,73,84,0,1,1,2,2,69,13,5,11,53,13,7,26,31,0,1,1,
  2,17,69,13,5,27,53,13,7,26,31,0,1,1,2,32,69,13,5,43,
  53,13,7,26,31,0,1,1,2,47,69,13,5,59,53,13,7,26,31,0,
  1,0,13,1,61,61,3,12,56,56,1,27,31,0,6,0,14,2,59,59,
  4,13,54,54,1,2,26,1,0,13,1,61,61,3,12,56,56,4,27,31,
  0,6,0,14,2,59,59,4,13,54,54,4,2,26,1,0,13,1,61,61,
  1,12,61,61,6,27,31,0,6,0,14,2,59,59,2,13,59,59,6,2,
  26,1,0,1,2,10,10,1,1,10,10,6,135,31,79,78,0,1,0,1,
  38,10,10,2,68,10,10,1,31,31,0,65,112,2,39,8,8,3,69,8,
  8,1,1,0,1,50,10,10,51,68,10,10,1,31,31,0,65,112,2,51,
  8,8,52,69,8,8,1,1,0,1,38,10,10,2,68,10,10,2,31,31,
  0,1,0,1,50,10,10,51,68,10,10,2,31,31,0,65,112,2,51,8,
  8,52,69,8,8,2,65,112,2,39,8,8,3,69,8,8,2,1,0,1,
  38,10,10,2,68,10,10,3,31,31,0,1,0,1,50,10,10,51,68,10,
  10,3,31,31,0,65,112,2,51,8,8,52,69,8,8,3,65,112,2,39,
  8,8,3,69,8,8,3,1,0,1,38,10,10,2,68,10,10,4,31,31,
  0,1,0,1,50,10,10,51,68,10,10,4,31,31,0,65,112,2,51,8,
  8,52,69,8,8,4,65,112,2,39,8,8,3,69,8,8,4,1,0,1,
  38,10,10,2,68,10,10,5,31,31,0,65,112,2,39,8,8,3,69,8,
  8,5,1,0,1,50,10,10,51,68,10,10,5,31,31,0,65,112,2,51,
  8,8,52,69,8,8,5,131,0,77,56,20,7,22,93,19,6,8,2,31,
  65,89,65,82,76,65,82,0,7,36,3,33,27,5,3,33,20,5,8,2,
  26,2,6,1,1,3,39,27,7,4,39,18,5,8,2,31,75,65,89,68,
  69,84,0,65,113,4,4,9,9,7,13,9,9,7,65,113,17,4,9,9,
  17,13,9,9,7,65,113,31,4,9,9,27,13,9,9,7,65,113,46,4,
  9,9,37,13,9,9,7,65,113,60,4,9,9,47,13,9,9,7,65,113,
  17,19,9,9,17,29,9,9,7,65,113,4,19,9,9,7,29,9,9,7,
  65,113,31,19,9,9,27,29,9,9,7,65,113,46,19,9,9,37,29,9,
  9,7,65,113,60,19,9,9,47,29,9,9,7,65,113,17,34,9,9,17,
  45,9,9,7,65,113,4,34,9,9,7,45,9,9,7,65,113,31,34,9,
  9,27,45,9,9,7,65,113,46,34,9,9,37,45,9,9,7,65,113,60,
  34,9,9,47,45,9,9,7,65,113,17,49,9,9,17,61,9,9,7,65,
  113,4,49,9,9,7,61,9,9,7,65,113,31,49,9,9,27,61,9,9,
  7,65,113,46,49,9,9,37,61,9,9,7,65,113,60,49,9,9,47,61,
  9,9,7,7,36,3,27,27,5,3,27,20,5,8,2,26,2,6,7,36,
  3,21,27,5,3,21,20,5,8,2,26,2,6,7,36,3,15,27,5,3,
  15,20,5,8,2,26,2,6,7,36,3,9,27,5,3,9,20,5,8,2,
  26,2,6,129,0,3,4,27,4,3,5,20,3,8,24,82,71,66,32,73,
  83,73,77,76,69,82,73,0,1,1,33,33,35,8,27,33,23,5,8,2,
  31,75,65,89,68,69,84,0,7,36,33,27,35,5,26,27,25,5,8,2,
  26,2,7,7,36,33,21,35,5,26,21,25,5,8,2,26,2,7,7,36,
  33,15,35,5,26,15,25,5,8,2,26,2,7,7,36,33,9,35,5,26,
  9,25,5,8,2,26,2,7,129,0,33,3,34,4,26,5,25,3,8,24,
  80,82,69,83,69,84,32,73,83,73,77,76,69,82,73,0,67,1,17,5,
  38,7,17,14,29,7,7,31,26,7,67,1,17,20,38,7,17,30,29,7,
  7,31,26,7,67,1,17,35,38,7,17,46,29,7,7,31,26,7,67,1,
  17,50,38,7,17,62,29,7,7,31,26,7,67,1,77,1,20,5,3,79,
  17,6,0,31,26,6,67,1,77,9,20,5,23,79,17,6,0,31,26,6,
  67,1,77,17,20,5,43,79,17,6,0,31,26,6,67,1,77,25,20,5,
  3,86,17,6,0,31,26,6,67,1,77,33,20,5,43,86,17,6,0,31,
  26,6 };
 
// this structure defines all the variables and events of your control interface
struct {

    // input variables
  uint8_t RGB5TETIK; // =1 if button pressed, else =0
  uint8_t RGB_5_r; // =0..255 Red color value
  uint8_t RGB_5_g; // =0..255 Green color value
  uint8_t RGB_5_b; // =0..255 Blue color value
  uint8_t RGB3TETIK; // =1 if button pressed, else =0
  uint8_t RGB_3_r; // =0..255 Red color value
  uint8_t RGB_3_g; // =0..255 Green color value
  uint8_t RGB_3_b; // =0..255 Blue color value
  uint8_t RGB1ALLON; // =1 if button pressed, else =0
  uint8_t RGB1ALLOFF; // =1 if button pressed, else =0
  uint8_t RGB2TETIK; // =1 if button pressed, else =0
  uint8_t RGB_2_r; // =0..255 Red color value
  uint8_t RGB_2_g; // =0..255 Green color value
  uint8_t RGB_2_b; // =0..255 Blue color value
  uint8_t RGB2ALLON; // =1 if button pressed, else =0
  uint8_t RGB2ALLOFF; // =1 if button pressed, else =0
  uint8_t RGB3ALLOFF; // =1 if button pressed, else =0
  uint8_t RGB3ALLON; // =1 if button pressed, else =0
  uint8_t RGB4ALLON; // =1 if button pressed, else =0
  uint8_t RGB4ALLOFF; // =1 if button pressed, else =0
  uint8_t RGB5ALLON; // =1 if button pressed, else =0
  uint8_t RGB5ALLOFF; // =1 if button pressed, else =0
  uint8_t ALLRGBOFF; // =1 if button pressed, else =0
  uint8_t PRESET1; // =1 if button pressed, else =0
  uint8_t PRESET2; // =1 if button pressed, else =0
  uint8_t PRESET3; // =1 if button pressed, else =0
  uint8_t PRESET4; // =1 if button pressed, else =0
  uint8_t RGB1TETIK; // =1 if button pressed, else =0
  uint8_t RGB_1_r; // =0..255 Red color value
  uint8_t RGB_1_g; // =0..255 Green color value
  uint8_t RGB_1_b; // =0..255 Blue color value
  uint8_t RGB4TETIK; // =1 if button pressed, else =0
  uint8_t RGB_4_r; // =0..255 Red color value
  uint8_t RGB_4_g; // =0..255 Green color value
  uint8_t RGB_4_b; // =0..255 Blue color value
  uint8_t ALLRGBTETIK; // =1 if button pressed, else =0
  uint8_t ALLRGB_r; // =0..255 Red color value
  uint8_t ALLRGB_g; // =0..255 Green color value
  uint8_t ALLRGB_b; // =0..255 Blue color value
  uint8_t ALLRGBON; // =1 if button pressed, else =0
  uint8_t RGB1PRESET1; // =1 if button pressed, else =0
  uint8_t RGB1PRESET2; // =1 if button pressed, else =0
  uint8_t RGB2PRESET1; // =1 if button pressed, else =0
  uint8_t RGB2PRESET2; // =1 if button pressed, else =0
  uint8_t RGB3PRESET1; // =1 if button pressed, else =0
  uint8_t RGB3PRESET2; // =1 if button pressed, else =0
  uint8_t RGB4PRESET1; // =1 if button pressed, else =0
  uint8_t RGB4PRESET2; // =1 if button pressed, else =0
  uint8_t RGB5PRESET1; // =1 if button pressed, else =0
  uint8_t RGB5PRESET2; // =1 if button pressed, else =0
  char RGB5NAMESAVE[6];  // string UTF8 end zero 
  uint8_t RGBNAMESAVE; // =1 if button pressed, else =0
  char RGB4NAMESAVE[6];  // string UTF8 end zero 
  char RGB3NAMESAVE[6];  // string UTF8 end zero 
  char RGB2NAMESAVE[6];  // string UTF8 end zero 
  char RGB1NAMESAVE[6];  // string UTF8 end zero 
  uint8_t PRESETNAMESAVE; // =1 if button pressed, else =0
  char PRESET4NAMESAVE[7];  // string UTF8 end zero 
  char PRESET3NAMESAVE[7];  // string UTF8 end zero 
  char PRESET2NAMESAVE[7];  // string UTF8 end zero 
  char PRESET1NAMESAVE[7];  // string UTF8 end zero 
  float accelerometer_x;
  float accelerometer_y;
  float accelerometer_z;

    // output variables
  uint8_t RGB1PRESET1LED_r; // =0..255 LED Red brightness
  uint8_t RGB1PRESET1LED_g; // =0..255 LED Green brightness
  uint8_t RGB1PRESET1LED_b; // =0..255 LED Blue brightness
  uint8_t RGB1PRESET2LED_r; // =0..255 LED Red brightness
  uint8_t RGB1PRESET2LED_g; // =0..255 LED Green brightness
  uint8_t RGB1PRESET2LED_b; // =0..255 LED Blue brightness
  uint8_t RGB2PRESET2LED_r; // =0..255 LED Red brightness
  uint8_t RGB2PRESET2LED_g; // =0..255 LED Green brightness
  uint8_t RGB2PRESET2LED_b; // =0..255 LED Blue brightness
  uint8_t RGB2PRESET1LED_r; // =0..255 LED Red brightness
  uint8_t RGB2PRESET1LED_g; // =0..255 LED Green brightness
  uint8_t RGB2PRESET1LED_b; // =0..255 LED Blue brightness
  uint8_t RGB3PRESET2LED_r; // =0..255 LED Red brightness
  uint8_t RGB3PRESET2LED_g; // =0..255 LED Green brightness
  uint8_t RGB3PRESET2LED_b; // =0..255 LED Blue brightness
  uint8_t RGB3PRESET1LED_r; // =0..255 LED Red brightness
  uint8_t RGB3PRESET1LED_g; // =0..255 LED Green brightness
  uint8_t RGB3PRESET1LED_b; // =0..255 LED Blue brightness
  uint8_t RGB4PRESET2LED_r; // =0..255 LED Red brightness
  uint8_t RGB4PRESET2LED_g; // =0..255 LED Green brightness
  uint8_t RGB4PRESET2LED_b; // =0..255 LED Blue brightness
  uint8_t RGB4PRESET1LED_r; // =0..255 LED Red brightness
  uint8_t RGB4PRESET1LED_g; // =0..255 LED Green brightness
  uint8_t RGB4PRESET1LED_b; // =0..255 LED Blue brightness
  uint8_t RGB5PRESET1LED_r; // =0..255 LED Red brightness
  uint8_t RGB5PRESET1LED_g; // =0..255 LED Green brightness
  uint8_t RGB5PRESET1LED_b; // =0..255 LED Blue brightness
  uint8_t RGB5PRESET2LED_r; // =0..255 LED Red brightness
  uint8_t RGB5PRESET2LED_g; // =0..255 LED Green brightness
  uint8_t RGB5PRESET2LED_b; // =0..255 LED Blue brightness
  uint8_t PRESET1RGBLED1_r; // =0..255 LED Red brightness
  uint8_t PRESET1RGBLED1_g; // =0..255 LED Green brightness
  uint8_t PRESET1RGBLED1_b; // =0..255 LED Blue brightness
  uint8_t PRESET1RGBLED2_r; // =0..255 LED Red brightness
  uint8_t PRESET1RGBLED2_g; // =0..255 LED Green brightness
  uint8_t PRESET1RGBLED2_b; // =0..255 LED Blue brightness
  uint8_t PRESET1RGBLED3_r; // =0..255 LED Red brightness
  uint8_t PRESET1RGBLED3_g; // =0..255 LED Green brightness
  uint8_t PRESET1RGBLED3_b; // =0..255 LED Blue brightness
  uint8_t PRESET1RGBLED4_r; // =0..255 LED Red brightness
  uint8_t PRESET1RGBLED4_g; // =0..255 LED Green brightness
  uint8_t PRESET1RGBLED4_b; // =0..255 LED Blue brightness
  uint8_t PRESET1RGBLED5_r; // =0..255 LED Red brightness
  uint8_t PRESET1RGBLED5_g; // =0..255 LED Green brightness
  uint8_t PRESET1RGBLED5_b; // =0..255 LED Blue brightness
  uint8_t PRESET2RGBLED2_r; // =0..255 LED Red brightness
  uint8_t PRESET2RGBLED2_g; // =0..255 LED Green brightness
  uint8_t PRESET2RGBLED2_b; // =0..255 LED Blue brightness
  uint8_t PRESET2RGBLED1_r; // =0..255 LED Red brightness
  uint8_t PRESET2RGBLED1_g; // =0..255 LED Green brightness
  uint8_t PRESET2RGBLED1_b; // =0..255 LED Blue brightness
  uint8_t PRESET2RGBLED3_r; // =0..255 LED Red brightness
  uint8_t PRESET2RGBLED3_g; // =0..255 LED Green brightness
  uint8_t PRESET2RGBLED3_b; // =0..255 LED Blue brightness
  uint8_t PRESET2RGBLED4_r; // =0..255 LED Red brightness
  uint8_t PRESET2RGBLED4_g; // =0..255 LED Green brightness
  uint8_t PRESET2RGBLED4_b; // =0..255 LED Blue brightness
  uint8_t PRESET2RGBLED5_r; // =0..255 LED Red brightness
  uint8_t PRESET2RGBLED5_g; // =0..255 LED Green brightness
  uint8_t PRESET2RGBLED5_b; // =0..255 LED Blue brightness
  uint8_t PRESET3RGBLED2_r; // =0..255 LED Red brightness
  uint8_t PRESET3RGBLED2_g; // =0..255 LED Green brightness
  uint8_t PRESET3RGBLED2_b; // =0..255 LED Blue brightness
  uint8_t PRESET3RGBLED1_r; // =0..255 LED Red brightness
  uint8_t PRESET3RGBLED1_g; // =0..255 LED Green brightness
  uint8_t PRESET3RGBLED1_b; // =0..255 LED Blue brightness
  uint8_t PRESET3RGBLED3_r; // =0..255 LED Red brightness
  uint8_t PRESET3RGBLED3_g; // =0..255 LED Green brightness
  uint8_t PRESET3RGBLED3_b; // =0..255 LED Blue brightness
  uint8_t PRESET3RGBLED4_r; // =0..255 LED Red brightness
  uint8_t PRESET3RGBLED4_g; // =0..255 LED Green brightness
  uint8_t PRESET3RGBLED4_b; // =0..255 LED Blue brightness
  uint8_t PRESET3RGBLED5_r; // =0..255 LED Red brightness
  uint8_t PRESET3RGBLED5_g; // =0..255 LED Green brightness
  uint8_t PRESET3RGBLED5_b; // =0..255 LED Blue brightness
  uint8_t PRESET4RGBLED2_r; // =0..255 LED Red brightness
  uint8_t PRESET4RGBLED2_g; // =0..255 LED Green brightness
  uint8_t PRESET4RGBLED2_b; // =0..255 LED Blue brightness
  uint8_t PRESET4RGBLED1_r; // =0..255 LED Red brightness
  uint8_t PRESET4RGBLED1_g; // =0..255 LED Green brightness
  uint8_t PRESET4RGBLED1_b; // =0..255 LED Blue brightness
  uint8_t PRESET4RGBLED3_r; // =0..255 LED Red brightness
  uint8_t PRESET4RGBLED3_g; // =0..255 LED Green brightness
  uint8_t PRESET4RGBLED3_b; // =0..255 LED Blue brightness
  uint8_t PRESET4RGBLED4_r; // =0..255 LED Red brightness
  uint8_t PRESET4RGBLED4_g; // =0..255 LED Green brightness
  uint8_t PRESET4RGBLED4_b; // =0..255 LED Blue brightness
  uint8_t PRESET4RGBLED5_r; // =0..255 LED Red brightness
  uint8_t PRESET4RGBLED5_g; // =0..255 LED Green brightness
  uint8_t PRESET4RGBLED5_b; // =0..255 LED Blue brightness
  char PRESET1NAME[7];  // string UTF8 end zero
  char PRESET2NAME[7];  // string UTF8 end zero
  char PRESET3NAME[7];  // string UTF8 end zero
  char PRESET4NAME[7];  // string UTF8 end zero
  char RGB1NAME[6];  // string UTF8 end zero
  char RGB2NAME[6];  // string UTF8 end zero
  char RGB3NAME[6];  // string UTF8 end zero
  char RGB4NAME[6];  // string UTF8 end zero
  char RGB5NAME[6];  // string UTF8 end zero

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

} RemoteXY;
#pragma pack(pop)





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


void setup() 
{
  RemoteXY_Init ();

}

void loop() 
{ 
  remotexy-&gt;handler ();
  
  // TODO you loop code
  // use the RemoteXY structure for data transfer
  // do not call delay() 


}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2022-11-07T07:14:27Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4849#p4849</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Esp32 Bluetooth problem]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4843#p4843" />
			<content type="html"><![CDATA[<p>I tried this too, but it didn&#039;t work, I got the same connection error.</p>]]></content>
			<author>
				<name><![CDATA[ogunekici]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2226</uri>
			</author>
			<updated>2022-11-06T17:46:27Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4843#p4843</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Esp32 Bluetooth problem]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4840#p4840" />
			<content type="html"><![CDATA[<p>First, test the interface without your additional code.</p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2022-11-03T05:03:28Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4840#p4840</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Esp32 Bluetooth problem]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4830#p4830" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>remotexy wrote:</cite><blockquote><p>Try to follow the documentation on the link <a target="_blank" href="https://remotexy.com/en/help/start/esp32-bluetooth/">https://remotexy.com/en/help/start/esp32-bluetooth/</a></p></blockquote></div><p>I have reviewed this document, I do not have a problem with small bytes, there is a problem when the byte gets larger. I am sharing my file with you.</p><p>bluetooth is change wifi on chip is no problem connected to device but bluetooth on chip is connected error</p><p>//5-RGB LED CONTROL<br />//ALL RGB LED CONTROL<br />//4 PRESET KAYIT</p><p>#include &lt;analogWrite.h&gt; //ANALOG DEGER YAZMA KUTUPHANESI<br />#include &lt;EEPROM.h&gt; //KAYIT KUTUPHANESI</p><p>// RemoteXY select connection mode and include library <br />#define REMOTEXY_MODE__ESP32CORE_BLE<br />#include &lt;BLEDevice.h&gt;</p><p>#include &lt;RemoteXY.h&gt;</p><p>// RemoteXY connection settings <br />#define REMOTEXY_BLUETOOTH_NAME &quot;RemoteXY&quot;</p><p>//RGB LED 1 CIKIS PORTLARI<br />#define RED1 13<br />#define GREEN1 12<br />#define BLUE1 14<br />//RGB LED 1 CIKIS PORTLARI</p><p>//RGB LED 2 CIKIS PORTLARI<br />#define RED2 15<br />#define GREEN2 2<br />#define BLUE2 0<br />//RGB LED 2 CIKIS PORTLARI</p><p>//RGB LED 3 CIKIS PORTLARI<br />#define RED3 4<br />#define GREEN3 16<br />#define BLUE3 17<br />//RGB LED 3 CIKIS PORTLARI</p><p>//RGB LED 4 CIKIS PORTLARI<br />#define RED4 5<br />#define GREEN4 18<br />#define BLUE4 19<br />//RGB LED 4 CIKIS PORTLARI</p><p>//RGB LED 5 CIKIS PORTLARI<br />#define RED5 33<br />#define GREEN5 32<br />#define BLUE5 23<br />//RGB LED 5 CIKIS PORTLARI</p><p>const int KISABASMA = 1000; // 1000 milliseconds<br />const int UZUNBASMA&nbsp; = 1000; // 1000 milliseconds</p><p>int PRESET1SONDURUM = LOW;&nbsp; // the previous state from the input pin<br />int PRESET1DURUM;&nbsp; &nbsp; &nbsp;// the current reading from the input pin<br />unsigned long PRESET1BASILMA&nbsp; = 0;<br />unsigned long PRESET1CEKME = 0;</p><p>int PRESET2SONDURUM = LOW;&nbsp; // the previous state from the input pin<br />int PRESET2DURUM;&nbsp; &nbsp; &nbsp;// the current reading from the input pin<br />unsigned long PRESET2BASILMA&nbsp; = 0;<br />unsigned long PRESET2CEKME = 0;</p><p>int PRESET3SONDURUM = LOW;&nbsp; // the previous state from the input pin<br />int PRESET3DURUM;&nbsp; &nbsp; &nbsp;// the current reading from the input pin<br />unsigned long PRESET3BASILMA&nbsp; = 0;<br />unsigned long PRESET3CEKME = 0;</p><p>int PRESET4SONDURUM = LOW;&nbsp; // the previous state from the input pin<br />int PRESET4DURUM;&nbsp; &nbsp; &nbsp;// the current reading from the input pin<br />unsigned long PRESET4BASILMA&nbsp; = 0;<br />unsigned long PRESET4CEKME = 0;</p><p>int RGB1PRESET1SONDURUM = LOW;&nbsp; // the previous state from the input pin<br />int RGB1PRESET1DURUM;&nbsp; &nbsp; &nbsp;// the current reading from the input pin<br />unsigned long RGB1PRESET1BASILMA&nbsp; = 0;<br />unsigned long RGB1PRESET1CEKME = 0;</p><p>int RGB1PRESET2SONDURUM = LOW;&nbsp; // the previous state from the input pin<br />int RGB1PRESET2DURUM;&nbsp; &nbsp; &nbsp;// the current reading from the input pin<br />unsigned long RGB1PRESET2BASILMA&nbsp; = 0;<br />unsigned long RGB1PRESET2CEKME = 0;</p><p>int RGB2PRESET1SONDURUM = LOW;&nbsp; // the previous state from the input pin<br />int RGB2PRESET1DURUM;&nbsp; &nbsp; &nbsp;// the current reading from the input pin<br />unsigned long RGB2PRESET1BASILMA&nbsp; = 0;<br />unsigned long RGB2PRESET1CEKME = 0;</p><p>int RGB2PRESET2SONDURUM = LOW;&nbsp; // the previous state from the input pin<br />int RGB2PRESET2DURUM;&nbsp; &nbsp; &nbsp;// the current reading from the input pin<br />unsigned long RGB2PRESET2BASILMA&nbsp; = 0;<br />unsigned long RGB2PRESET2CEKME = 0;</p><p>int RGB3PRESET1SONDURUM = LOW;&nbsp; // the previous state from the input pin<br />int RGB3PRESET1DURUM;&nbsp; &nbsp; &nbsp;// the current reading from the input pin<br />unsigned long RGB3PRESET1BASILMA&nbsp; = 0;<br />unsigned long RGB3PRESET1CEKME = 0;</p><p>int RGB3PRESET2SONDURUM = LOW;&nbsp; // the previous state from the input pin<br />int RGB3PRESET2DURUM;&nbsp; &nbsp; &nbsp;// the current reading from the input pin<br />unsigned long RGB3PRESET2BASILMA&nbsp; = 0;<br />unsigned long RGB3PRESET2CEKME = 0;</p><p>int RGB4PRESET1SONDURUM = LOW;&nbsp; // the previous state from the input pin<br />int RGB4PRESET1DURUM;&nbsp; &nbsp; &nbsp;// the current reading from the input pin<br />unsigned long RGB4PRESET1BASILMA&nbsp; = 0;<br />unsigned long RGB4PRESET1CEKME = 0;</p><p>int RGB4PRESET2SONDURUM = LOW;&nbsp; // the previous state from the input pin<br />int RGB4PRESET2DURUM;&nbsp; &nbsp; &nbsp;// the current reading from the input pin<br />unsigned long RGB4PRESET2BASILMA&nbsp; = 0;<br />unsigned long RGB4PRESET2CEKME = 0;</p><p>int RGB5PRESET1SONDURUM = LOW;&nbsp; // the previous state from the input pin<br />int RGB5PRESET1DURUM;&nbsp; &nbsp; &nbsp;// the current reading from the input pin<br />unsigned long RGB5PRESET1BASILMA&nbsp; = 0;<br />unsigned long RGB5PRESET1CEKME = 0;</p><p>int RGB5PRESET2SONDURUM = LOW;&nbsp; // the previous state from the input pin<br />int RGB5PRESET2DURUM;&nbsp; &nbsp; &nbsp;// the current reading from the input pin<br />unsigned long RGB5PRESET2BASILMA&nbsp; = 0;<br />unsigned long RGB5PRESET2CEKME = 0;</p><br /><p>// RemoteXY configurate&nbsp; <br />#pragma pack(push, 1)<br />uint8_t RemoteXY_CONF[] =&nbsp; &nbsp;// 1402 bytes<br />&nbsp; { 255,110,0,148,0,115,5,16,28,6,130,1,2,2,29,45,25,4,27,35,<br />&nbsp; 8,17,1,0,13,1,61,61,3,12,56,56,5,27,31,0,6,0,14,2,<br />&nbsp; 59,59,4,13,54,54,5,2,26,131,0,77,16,20,7,42,79,19,6,3,<br />&nbsp; 2,31,0,1,0,13,1,61,61,3,12,56,56,3,27,31,0,6,0,14,<br />&nbsp; 2,59,59,4,13,54,54,3,2,26,130,1,32,2,37,40,2,4,22,41,<br />&nbsp; 8,17,1,0,1,2,10,10,1,1,10,10,1,135,31,79,78,0,1,0,<br />&nbsp; 1,16,10,10,52,1,10,10,1,1,31,79,70,70,0,131,0,77,0,20,<br />&nbsp; 7,2,79,19,6,1,2,31,0,131,0,77,8,20,7,22,79,19,6,2,<br />&nbsp; 2,31,0,1,0,13,1,61,61,3,12,56,56,2,27,31,0,6,0,14,<br />&nbsp; 2,59,59,4,13,54,54,2,2,26,1,0,1,2,10,10,1,1,10,10,<br />&nbsp; 2,135,31,79,78,0,1,0,1,16,10,10,52,1,10,10,2,1,31,79,<br />&nbsp; 70,70,0,1,0,1,16,10,10,52,1,10,10,3,1,31,79,70,70,0,<br />&nbsp; 1,0,1,2,10,10,1,1,10,10,3,135,31,79,78,0,131,0,77,24,<br />&nbsp; 20,7,2,86,19,6,4,2,31,0,1,0,1,2,10,10,1,1,10,10,<br />&nbsp; 4,135,31,79,78,0,1,0,1,16,10,10,52,1,10,10,4,1,31,79,<br />&nbsp; 70,70,0,131,0,77,32,20,7,42,86,19,6,5,2,31,0,1,0,1,<br />&nbsp; 2,10,10,1,1,10,10,5,135,31,79,78,0,1,0,1,16,10,10,52,<br />&nbsp; 1,10,10,5,1,31,79,70,70,0,131,1,77,40,20,7,2,93,19,6,<br />&nbsp; 6,2,31,84,195,156,77,0,1,0,1,51,10,10,52,1,10,10,6,1,<br />&nbsp; 31,79,70,70,0,131,0,77,48,20,7,22,86,19,6,7,2,31,75,65,<br />&nbsp; 89,73,84,0,1,1,2,2,69,13,5,11,53,13,7,26,31,0,1,1,<br />&nbsp; 2,17,69,13,5,27,53,13,7,26,31,0,1,1,2,32,69,13,5,43,<br />&nbsp; 53,13,7,26,31,0,1,1,2,47,69,13,5,59,53,13,7,26,31,0,<br />&nbsp; 1,0,13,1,61,61,3,12,56,56,1,27,31,0,6,0,14,2,59,59,<br />&nbsp; 4,13,54,54,1,2,26,1,0,13,1,61,61,3,12,56,56,4,27,31,<br />&nbsp; 0,6,0,14,2,59,59,4,13,54,54,4,2,26,1,0,13,1,61,61,<br />&nbsp; 1,12,61,61,6,27,31,0,6,0,14,2,59,59,2,13,59,59,6,2,<br />&nbsp; 26,1,0,1,2,10,10,1,1,10,10,6,135,31,79,78,0,1,0,1,<br />&nbsp; 38,10,10,2,68,10,10,1,31,31,0,65,112,2,39,8,8,3,69,8,<br />&nbsp; 8,1,1,0,1,50,10,10,51,68,10,10,1,31,31,0,65,112,2,51,<br />&nbsp; 8,8,52,69,8,8,1,1,0,1,38,10,10,2,68,10,10,2,31,31,<br />&nbsp; 0,1,0,1,50,10,10,51,68,10,10,2,31,31,0,65,112,2,51,8,<br />&nbsp; 8,52,69,8,8,2,65,112,2,39,8,8,3,69,8,8,2,1,0,1,<br />&nbsp; 38,10,10,2,68,10,10,3,31,31,0,1,0,1,50,10,10,51,68,10,<br />&nbsp; 10,3,31,31,0,65,112,2,51,8,8,52,69,8,8,3,65,112,2,39,<br />&nbsp; 8,8,3,69,8,8,3,1,0,1,38,10,10,2,68,10,10,4,31,31,<br />&nbsp; 0,1,0,1,50,10,10,51,68,10,10,4,31,31,0,65,112,2,51,8,<br />&nbsp; 8,52,69,8,8,4,65,112,2,39,8,8,3,69,8,8,4,1,0,1,<br />&nbsp; 38,10,10,2,68,10,10,5,31,31,0,65,112,2,39,8,8,3,69,8,<br />&nbsp; 8,5,1,0,1,50,10,10,51,68,10,10,5,31,31,0,65,112,2,51,<br />&nbsp; 8,8,52,69,8,8,5,131,0,77,56,20,7,22,93,19,6,8,2,31,<br />&nbsp; 65,89,65,82,76,65,82,0,7,36,3,33,27,5,3,33,20,5,8,2,<br />&nbsp; 26,2,6,1,1,3,39,27,7,4,39,18,5,8,2,31,75,65,89,68,<br />&nbsp; 69,84,0,65,113,4,4,9,9,7,13,9,9,7,65,113,17,4,9,9,<br />&nbsp; 17,13,9,9,7,65,113,31,4,9,9,27,13,9,9,7,65,113,46,4,<br />&nbsp; 9,9,37,13,9,9,7,65,113,60,4,9,9,47,13,9,9,7,65,113,<br />&nbsp; 17,19,9,9,17,29,9,9,7,65,113,4,19,9,9,7,29,9,9,7,<br />&nbsp; 65,113,31,19,9,9,27,29,9,9,7,65,113,46,19,9,9,37,29,9,<br />&nbsp; 9,7,65,113,60,19,9,9,47,29,9,9,7,65,113,17,34,9,9,17,<br />&nbsp; 45,9,9,7,65,113,4,34,9,9,7,45,9,9,7,65,113,31,34,9,<br />&nbsp; 9,27,45,9,9,7,65,113,46,34,9,9,37,45,9,9,7,65,113,60,<br />&nbsp; 34,9,9,47,45,9,9,7,65,113,17,49,9,9,17,61,9,9,7,65,<br />&nbsp; 113,4,49,9,9,7,61,9,9,7,65,113,31,49,9,9,27,61,9,9,<br />&nbsp; 7,65,113,46,49,9,9,37,61,9,9,7,65,113,60,49,9,9,47,61,<br />&nbsp; 9,9,7,7,36,3,27,27,5,3,27,20,5,8,2,26,2,6,7,36,<br />&nbsp; 3,21,27,5,3,21,20,5,8,2,26,2,6,7,36,3,15,27,5,3,<br />&nbsp; 15,20,5,8,2,26,2,6,7,36,3,9,27,5,3,9,20,5,8,2,<br />&nbsp; 26,2,6,129,0,3,4,27,4,3,5,20,3,8,24,82,71,66,32,73,<br />&nbsp; 83,73,77,76,69,82,73,0,1,1,33,33,35,8,27,33,23,5,8,2,<br />&nbsp; 31,75,65,89,68,69,84,0,7,36,33,27,35,5,26,27,25,5,8,2,<br />&nbsp; 26,2,7,7,36,33,21,35,5,26,21,25,5,8,2,26,2,7,7,36,<br />&nbsp; 33,15,35,5,26,15,25,5,8,2,26,2,7,7,36,33,9,35,5,26,<br />&nbsp; 9,25,5,8,2,26,2,7,129,0,33,3,34,4,26,5,25,3,8,24,<br />&nbsp; 80,82,69,83,69,84,32,73,83,73,77,76,69,82,73,0,67,1,17,5,<br />&nbsp; 38,7,17,14,29,7,7,31,26,7,67,1,17,20,38,7,17,30,29,7,<br />&nbsp; 7,31,26,7,67,1,17,35,38,7,17,46,29,7,7,31,26,7,67,1,<br />&nbsp; 17,50,38,7,17,62,29,7,7,31,26,7,67,1,77,1,20,5,3,79,<br />&nbsp; 17,6,0,31,26,6,67,1,77,9,20,5,23,79,17,6,0,31,26,6,<br />&nbsp; 67,1,77,17,20,5,43,79,17,6,0,31,26,6,67,1,77,25,20,5,<br />&nbsp; 3,86,17,6,0,31,26,6,67,1,77,33,20,5,43,86,17,6,0,31,<br />&nbsp; 26,6 };<br />&nbsp; <br />// this structure defines all the variables and events of your control interface <br />struct {</p><p>&nbsp; &nbsp; // input variables<br />&nbsp; uint8_t RGB5TETIK; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB_5_r; // =0..255 Red color value <br />&nbsp; uint8_t RGB_5_g; // =0..255 Green color value <br />&nbsp; uint8_t RGB_5_b; // =0..255 Blue color value <br />&nbsp; uint8_t RGB3TETIK; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB_3_r; // =0..255 Red color value <br />&nbsp; uint8_t RGB_3_g; // =0..255 Green color value <br />&nbsp; uint8_t RGB_3_b; // =0..255 Blue color value <br />&nbsp; uint8_t RGB1ALLON; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB1ALLOFF; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB2TETIK; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB_2_r; // =0..255 Red color value <br />&nbsp; uint8_t RGB_2_g; // =0..255 Green color value <br />&nbsp; uint8_t RGB_2_b; // =0..255 Blue color value <br />&nbsp; uint8_t RGB2ALLON; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB2ALLOFF; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB3ALLOFF; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB3ALLON; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB4ALLON; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB4ALLOFF; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB5ALLON; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB5ALLOFF; // =1 if button pressed, else =0 <br />&nbsp; uint8_t ALLRGBOFF; // =1 if button pressed, else =0 <br />&nbsp; uint8_t PRESET1; // =1 if button pressed, else =0 <br />&nbsp; uint8_t PRESET2; // =1 if button pressed, else =0 <br />&nbsp; uint8_t PRESET3; // =1 if button pressed, else =0 <br />&nbsp; uint8_t PRESET4; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB1TETIK; // =1 if button pressed, else =0 <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 RGB4TETIK; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB_4_r; // =0..255 Red color value <br />&nbsp; uint8_t RGB_4_g; // =0..255 Green color value <br />&nbsp; uint8_t RGB_4_b; // =0..255 Blue color value <br />&nbsp; uint8_t ALLRGBTETIK; // =1 if button pressed, else =0 <br />&nbsp; uint8_t ALLRGB_r; // =0..255 Red color value <br />&nbsp; uint8_t ALLRGB_g; // =0..255 Green color value <br />&nbsp; uint8_t ALLRGB_b; // =0..255 Blue color value <br />&nbsp; uint8_t ALLRGBON; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB1PRESET1; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB1PRESET2; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB2PRESET1; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB2PRESET2; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB3PRESET1; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB3PRESET2; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB4PRESET1; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB4PRESET2; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB5PRESET1; // =1 if button pressed, else =0 <br />&nbsp; uint8_t RGB5PRESET2; // =1 if button pressed, else =0 <br />&nbsp; char RGB5NAMESAVE[6];&nbsp; // string UTF8 end zero&nbsp; <br />&nbsp; uint8_t RGBNAMESAVE; // =1 if button pressed, else =0 <br />&nbsp; char RGB4NAMESAVE[6];&nbsp; // string UTF8 end zero&nbsp; <br />&nbsp; char RGB3NAMESAVE[6];&nbsp; // string UTF8 end zero&nbsp; <br />&nbsp; char RGB2NAMESAVE[6];&nbsp; // string UTF8 end zero&nbsp; <br />&nbsp; char RGB1NAMESAVE[6];&nbsp; // string UTF8 end zero&nbsp; <br />&nbsp; uint8_t PRESETNAMESAVE; // =1 if button pressed, else =0 <br />&nbsp; char PRESET4NAMESAVE[7];&nbsp; // string UTF8 end zero&nbsp; <br />&nbsp; char PRESET3NAMESAVE[7];&nbsp; // string UTF8 end zero&nbsp; <br />&nbsp; char PRESET2NAMESAVE[7];&nbsp; // string UTF8 end zero&nbsp; <br />&nbsp; char PRESET1NAMESAVE[7];&nbsp; // string UTF8 end zero&nbsp; <br />&nbsp; float accelerometer_x;<br />&nbsp; float accelerometer_y;<br />&nbsp; float accelerometer_z;</p><p>&nbsp; &nbsp; // output variables<br />&nbsp; uint8_t RGB1PRESET1LED_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t RGB1PRESET1LED_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t RGB1PRESET1LED_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t RGB1PRESET2LED_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t RGB1PRESET2LED_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t RGB1PRESET2LED_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t RGB2PRESET2LED_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t RGB2PRESET2LED_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t RGB2PRESET2LED_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t RGB2PRESET1LED_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t RGB2PRESET1LED_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t RGB2PRESET1LED_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t RGB3PRESET2LED_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t RGB3PRESET2LED_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t RGB3PRESET2LED_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t RGB3PRESET1LED_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t RGB3PRESET1LED_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t RGB3PRESET1LED_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t RGB4PRESET2LED_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t RGB4PRESET2LED_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t RGB4PRESET2LED_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t RGB4PRESET1LED_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t RGB4PRESET1LED_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t RGB4PRESET1LED_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t RGB5PRESET1LED_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t RGB5PRESET1LED_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t RGB5PRESET1LED_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t RGB5PRESET2LED_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t RGB5PRESET2LED_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t RGB5PRESET2LED_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET1RGBLED1_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET1RGBLED1_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET1RGBLED1_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET1RGBLED2_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET1RGBLED2_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET1RGBLED2_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET1RGBLED3_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET1RGBLED3_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET1RGBLED3_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET1RGBLED4_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET1RGBLED4_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET1RGBLED4_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET1RGBLED5_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET1RGBLED5_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET1RGBLED5_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET2RGBLED2_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET2RGBLED2_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET2RGBLED2_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET2RGBLED1_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET2RGBLED1_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET2RGBLED1_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET2RGBLED3_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET2RGBLED3_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET2RGBLED3_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET2RGBLED4_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET2RGBLED4_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET2RGBLED4_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET2RGBLED5_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET2RGBLED5_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET2RGBLED5_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET3RGBLED2_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET3RGBLED2_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET3RGBLED2_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET3RGBLED1_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET3RGBLED1_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET3RGBLED1_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET3RGBLED3_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET3RGBLED3_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET3RGBLED3_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET3RGBLED4_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET3RGBLED4_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET3RGBLED4_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET3RGBLED5_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET3RGBLED5_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET3RGBLED5_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET4RGBLED2_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET4RGBLED2_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET4RGBLED2_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET4RGBLED1_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET4RGBLED1_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET4RGBLED1_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET4RGBLED3_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET4RGBLED3_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET4RGBLED3_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET4RGBLED4_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET4RGBLED4_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET4RGBLED4_b; // =0..255 LED Blue brightness <br />&nbsp; uint8_t PRESET4RGBLED5_r; // =0..255 LED Red brightness <br />&nbsp; uint8_t PRESET4RGBLED5_g; // =0..255 LED Green brightness <br />&nbsp; uint8_t PRESET4RGBLED5_b; // =0..255 LED Blue brightness <br />&nbsp; char PRESET1NAME[7];&nbsp; // string UTF8 end zero <br />&nbsp; char PRESET2NAME[7];&nbsp; // string UTF8 end zero <br />&nbsp; char PRESET3NAME[7];&nbsp; // string UTF8 end zero <br />&nbsp; char PRESET4NAME[7];&nbsp; // string UTF8 end zero <br />&nbsp; char RGB1NAME[6];&nbsp; // string UTF8 end zero <br />&nbsp; char RGB2NAME[6];&nbsp; // string UTF8 end zero <br />&nbsp; char RGB3NAME[6];&nbsp; // string UTF8 end zero <br />&nbsp; char RGB4NAME[6];&nbsp; // string UTF8 end zero <br />&nbsp; char RGB5NAME[6];&nbsp; // string UTF8 end zero </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>void setup() <br />{<br />&nbsp; RemoteXY_Init (); </p><p>&nbsp; pinMode(RED1, OUTPUT);<br />&nbsp; pinMode(GREEN1, OUTPUT);<br />&nbsp; pinMode(BLUE1, OUTPUT);<br />&nbsp; pinMode(RED2, OUTPUT);<br />&nbsp; pinMode(GREEN2, OUTPUT);<br />&nbsp; pinMode(BLUE2, OUTPUT);<br />&nbsp; pinMode(RED3, OUTPUT);<br />&nbsp; pinMode(GREEN3, OUTPUT);<br />&nbsp; pinMode(BLUE3, OUTPUT);<br />&nbsp; pinMode(RED4, OUTPUT);<br />&nbsp; pinMode(GREEN4, OUTPUT);<br />&nbsp; pinMode(BLUE4, OUTPUT);<br />&nbsp; pinMode(RED5, OUTPUT);<br />&nbsp; pinMode(GREEN5, OUTPUT);<br />&nbsp; pinMode(BLUE5, OUTPUT);<br />&nbsp; EEPROM.begin(200);<br />&nbsp; EEPROMOKU ();<br />&nbsp; Serial1.begin(115200);<br />&nbsp; Serial2.begin(115200);<br />}</p><p>void loop() <br />{ <br />&nbsp; RemoteXY_Handler ();</p><p>RGB1 ();<br />RGB1ALLON ();<br />RGB1ALLOFF ();<br />RGB2 ();<br />RGB2ALLON ();<br />RGB2ALLOFF ();<br />RGB3 ();<br />RGB3ALLON ();<br />RGB3ALLOFF ();<br />RGB4 ();<br />RGB4ALLON ();<br />RGB4ALLOFF ();<br />RGB5 ();<br />RGB5ALLON ();<br />RGB5ALLOFF ();<br />ALLRGB ();<br />ALLRGBON ();<br />ALLRGBOFF ();<br />PRESET1 ();<br />PRESET2 ();<br />PRESET3 ();<br />PRESET4 ();<br />RGB1PRESET1 ();<br />RGB1PRESET2 ();<br />RGB2PRESET1 ();<br />RGB2PRESET2 ();<br />RGB3PRESET1 ();<br />RGB3PRESET2 ();<br />RGB4PRESET1 ();<br />RGB4PRESET2 ();<br />RGB5PRESET1 ();<br />RGB5PRESET2 ();<br />EEPROMCLEAR ();<br />PRESETNAMESAVED ();<br />RGBNAMESAVED ();<br />}</p><p>//RGB LED 1 KOMUTLARI<br />void RGB1()<br />{<br />&nbsp; if (RemoteXY.RGB1TETIK!=0)<br />&nbsp; {<br />&nbsp; &nbsp; &nbsp; RGB1EEPROMYAZ ();<br />&nbsp; }<br />&nbsp; &nbsp; &nbsp; analogWrite(RED1 , RemoteXY.RGB_1_r);<br />&nbsp; &nbsp; &nbsp; analogWrite(GREEN1 , RemoteXY.RGB_1_g);<br />&nbsp; &nbsp; &nbsp; analogWrite(BLUE1 , RemoteXY.RGB_1_b);<br />}</p><br /><p>void RGB1ALLON ()<br />{<br />&nbsp; if (RemoteXY.RGB1ALLON!=0)<br />&nbsp; {<br />&nbsp; &nbsp; RemoteXY.RGB_1_r = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_1_g = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_1_b = 255;<br />&nbsp; &nbsp; RGB1EEPROMYAZ ();<br />&nbsp; }<br />}</p><br /><p>void RGB1ALLOFF ()<br />{<br />&nbsp; if (RemoteXY.RGB1ALLOFF!=0)<br />&nbsp; {<br />&nbsp; &nbsp; RemoteXY.RGB_1_r = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_1_g = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_1_b = 0;<br />&nbsp; &nbsp; RGB1EEPROMYAZ ();<br />&nbsp; }<br />}</p><p>void RGB1EEPROMYAZ ()<br />{<br />&nbsp; EEPROM.write(0,RemoteXY.RGB_1_r);<br />&nbsp; EEPROM.commit();<br />&nbsp; EEPROM.write(1,RemoteXY.RGB_1_g);<br />&nbsp; EEPROM.commit();<br />&nbsp; EEPROM.write(2,RemoteXY.RGB_1_b);<br />&nbsp; EEPROM.commit();<br />}<br />//RGB LED 1 KOMUTLARI</p><p>//RGB LED 2 KOMUTLARI<br />void RGB2()<br />{<br />&nbsp; if (RemoteXY.RGB2TETIK!=0)<br />&nbsp; {<br />&nbsp; &nbsp; &nbsp; RGB2EEPROMYAZ ();<br />&nbsp; }<br />&nbsp; &nbsp; &nbsp; analogWrite(RED2 , RemoteXY.RGB_2_r);<br />&nbsp; &nbsp; &nbsp; analogWrite(GREEN2 , RemoteXY.RGB_2_g);<br />&nbsp; &nbsp; &nbsp; analogWrite(BLUE2 , RemoteXY.RGB_2_b);<br />}</p><br /><p>void RGB2ALLON ()<br />{<br />&nbsp; if (RemoteXY.RGB2ALLON!=0)<br />&nbsp; {<br />&nbsp; &nbsp; RemoteXY.RGB_2_r = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_2_g = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_2_b = 255;<br />&nbsp; &nbsp; RGB2EEPROMYAZ ();<br />&nbsp; }<br />}</p><br /><p>void RGB2ALLOFF ()<br />{<br />&nbsp; if (RemoteXY.RGB2ALLOFF!=0)<br />&nbsp; {<br />&nbsp; &nbsp; RemoteXY.RGB_2_r = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_2_g = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_2_b = 0;<br />&nbsp; &nbsp; RGB2EEPROMYAZ ();<br />&nbsp; }<br />}</p><p>void RGB2EEPROMYAZ ()<br />{<br />&nbsp; EEPROM.write(3,RemoteXY.RGB_2_r);<br />&nbsp; EEPROM.commit();<br />&nbsp; EEPROM.write(4,RemoteXY.RGB_2_g);<br />&nbsp; EEPROM.commit();<br />&nbsp; EEPROM.write(5,RemoteXY.RGB_2_b);<br />&nbsp; EEPROM.commit();<br />}<br />//RGB LED 2 KOMUTLARI</p><p>//RGB LED 3 KOMUTLARI<br />void RGB3()<br />{<br />&nbsp; if (RemoteXY.RGB3TETIK!=0)<br />&nbsp; {<br />&nbsp; &nbsp; &nbsp; RGB3EEPROMYAZ ();<br />&nbsp; }<br />&nbsp; &nbsp; &nbsp; analogWrite(RED3 , RemoteXY.RGB_3_r);<br />&nbsp; &nbsp; &nbsp; analogWrite(GREEN3 , RemoteXY.RGB_3_g);<br />&nbsp; &nbsp; &nbsp; analogWrite(BLUE3, RemoteXY.RGB_3_b);<br />}</p><br /><p>void RGB3ALLON ()<br />{<br />&nbsp; if (RemoteXY.RGB3ALLON!=0)<br />&nbsp; {<br />&nbsp; &nbsp; RemoteXY.RGB_3_r = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_3_g = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_3_b = 255;<br />&nbsp; &nbsp; RGB3EEPROMYAZ ();<br />&nbsp; }<br />}</p><br /><p>void RGB3ALLOFF ()<br />{<br />&nbsp; if (RemoteXY.RGB3ALLOFF!=0)<br />&nbsp; { <br />&nbsp; &nbsp; RemoteXY.RGB_3_r = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_3_g = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_3_b = 0;<br />&nbsp; &nbsp; RGB3EEPROMYAZ ();<br />&nbsp; }<br />}</p><p>void RGB3EEPROMYAZ ()<br />{<br />&nbsp; EEPROM.write(6,RemoteXY.RGB_3_r);<br />&nbsp; EEPROM.commit();<br />&nbsp; EEPROM.write(7,RemoteXY.RGB_3_g);<br />&nbsp; EEPROM.commit();<br />&nbsp; EEPROM.write(8,RemoteXY.RGB_3_b);<br />&nbsp; EEPROM.commit();<br />}<br />//RGB LED 3 KOMUTLARI</p><p>//RGB LED 4 KOMUTLARI<br />void RGB4()<br />{<br />&nbsp; if (RemoteXY.RGB4TETIK!=0)<br />&nbsp; {<br />&nbsp; &nbsp; &nbsp; RGB4EEPROMYAZ ();<br />&nbsp; }<br />&nbsp; &nbsp; &nbsp; analogWrite(RED4 , RemoteXY.RGB_4_r);<br />&nbsp; &nbsp; &nbsp; analogWrite(GREEN4 , RemoteXY.RGB_4_g);<br />&nbsp; &nbsp; &nbsp; analogWrite(BLUE4 , RemoteXY.RGB_4_b);<br />}</p><br /><p>void RGB4ALLON ()<br />{<br />&nbsp; if (RemoteXY.RGB4ALLON!=0)<br />&nbsp; {<br />&nbsp; &nbsp; RemoteXY.RGB_4_r = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_4_g = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_4_b = 255;<br />&nbsp; &nbsp; RGB4EEPROMYAZ ();<br />&nbsp; }<br />}</p><br /><p>void RGB4ALLOFF ()<br />{<br />&nbsp; if (RemoteXY.RGB4ALLOFF!=0)<br />&nbsp; { <br />&nbsp; &nbsp; RemoteXY.RGB_4_r = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_4_g = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_4_b = 0;<br />&nbsp; &nbsp; RGB4EEPROMYAZ ();<br />&nbsp; }<br />}</p><p>void RGB4EEPROMYAZ ()<br />{<br />&nbsp; EEPROM.write(9,RemoteXY.RGB_4_r);<br />&nbsp; EEPROM.commit();<br />&nbsp; EEPROM.write(10,RemoteXY.RGB_4_g);<br />&nbsp; EEPROM.commit();<br />&nbsp; EEPROM.write(11,RemoteXY.RGB_4_b);<br />&nbsp; EEPROM.commit();<br />}<br />//RGB LED 4 KOMUTLARI</p><p>//RGB LED 5 KOMUTLARI<br />void RGB5()<br />{<br />&nbsp; if (RemoteXY.RGB5TETIK!=0)<br />&nbsp; {<br />&nbsp; &nbsp; Serial.print(&quot;RGB 5 SCROOL&quot;);<br />&nbsp; &nbsp; RGB5EEPROMYAZ ();<br />&nbsp; }<br />&nbsp; &nbsp; &nbsp; analogWrite(RED5 , RemoteXY.RGB_5_r);<br />&nbsp; &nbsp; &nbsp; analogWrite(GREEN5 , RemoteXY.RGB_5_g);<br />&nbsp; &nbsp; &nbsp; analogWrite(BLUE5 , RemoteXY.RGB_5_b);<br />}</p><br /><p>void RGB5ALLON ()<br />{<br />&nbsp; if (RemoteXY.RGB5ALLON!=0)<br />&nbsp; {<br />&nbsp; &nbsp; Serial.print(&quot;RGB 5 ON&quot;);<br />&nbsp; &nbsp; RemoteXY.RGB_5_r = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_5_g = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_5_b = 255;<br />&nbsp; &nbsp; RGB5EEPROMYAZ ();<br />&nbsp; }<br />}</p><br /><p>void RGB5ALLOFF ()<br />{<br />&nbsp; if (RemoteXY.RGB5ALLOFF!=0)<br />&nbsp; { <br />&nbsp; &nbsp; Serial.print(&quot;RGB 5 OFF&quot;);<br />&nbsp; &nbsp; RemoteXY.RGB_5_r = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_5_g = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_5_b = 0;<br />&nbsp; &nbsp; RGB5EEPROMYAZ ();<br />&nbsp; }<br />}</p><p>void RGB5EEPROMYAZ ()<br />{<br />&nbsp; EEPROM.write(12,RemoteXY.RGB_5_r);<br />&nbsp; EEPROM.commit();<br />&nbsp; EEPROM.write(13,RemoteXY.RGB_5_g);<br />&nbsp; EEPROM.commit();<br />&nbsp; EEPROM.write(14,RemoteXY.RGB_5_b);<br />&nbsp; EEPROM.commit();<br />}<br />//RGB LED 5 KOMUTLARI</p><p>//ALL RGB LED KOMUTLARI<br />void ALLRGB()<br />{<br />&nbsp; if (RemoteXY.ALLRGBTETIK!=0)<br />&nbsp; {<br />&nbsp; &nbsp; Serial.print(&quot;ALL RGB SCROOL&quot;);<br />&nbsp; &nbsp; RemoteXY.RGB_1_r = RemoteXY.ALLRGB_r;<br />&nbsp; &nbsp; RemoteXY.RGB_1_g = RemoteXY.ALLRGB_g;<br />&nbsp; &nbsp; RemoteXY.RGB_1_b = RemoteXY.ALLRGB_b;<br />&nbsp; &nbsp; RGB1EEPROMYAZ ();</p><p>&nbsp; &nbsp; RemoteXY.RGB_2_r = RemoteXY.ALLRGB_r;<br />&nbsp; &nbsp; RemoteXY.RGB_2_g = RemoteXY.ALLRGB_g;<br />&nbsp; &nbsp; RemoteXY.RGB_2_b = RemoteXY.ALLRGB_b;<br />&nbsp; &nbsp; RGB2EEPROMYAZ ();</p><p>&nbsp; &nbsp; RemoteXY.RGB_3_r = RemoteXY.ALLRGB_r;<br />&nbsp; &nbsp; RemoteXY.RGB_3_g = RemoteXY.ALLRGB_g;<br />&nbsp; &nbsp; RemoteXY.RGB_3_b = RemoteXY.ALLRGB_b;<br />&nbsp; &nbsp; RGB3EEPROMYAZ ();</p><p>&nbsp; &nbsp; RemoteXY.RGB_4_r = RemoteXY.ALLRGB_r;<br />&nbsp; &nbsp; RemoteXY.RGB_4_g = RemoteXY.ALLRGB_g;<br />&nbsp; &nbsp; RemoteXY.RGB_4_b = RemoteXY.ALLRGB_b;<br />&nbsp; &nbsp; RGB4EEPROMYAZ ();</p><p>&nbsp; &nbsp; RemoteXY.RGB_5_r = RemoteXY.ALLRGB_r;<br />&nbsp; &nbsp; RemoteXY.RGB_5_g = RemoteXY.ALLRGB_g;<br />&nbsp; &nbsp; RemoteXY.RGB_5_b = RemoteXY.ALLRGB_b;<br />&nbsp; &nbsp; RGB5EEPROMYAZ ();<br />&nbsp; }<br />}</p><p>void ALLRGBON ()<br />{<br />&nbsp; if (RemoteXY.ALLRGBON!=0)<br />&nbsp; {<br />&nbsp; &nbsp; Serial.print(&quot;ALL RGB ON&quot;);<br />&nbsp; &nbsp; RemoteXY.RGB_1_r = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_1_g = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_1_b = 255;<br />&nbsp; &nbsp; RGB1EEPROMYAZ ();</p><p>&nbsp; &nbsp; RemoteXY.RGB_2_r = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_2_g = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_2_b = 255;<br />&nbsp; &nbsp; RGB2EEPROMYAZ ();</p><p>&nbsp; &nbsp; RemoteXY.RGB_3_r = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_3_g = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_3_b = 255;<br />&nbsp; &nbsp; RGB3EEPROMYAZ ();</p><p>&nbsp; &nbsp; RemoteXY.RGB_4_r = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_4_g = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_4_b = 255;<br />&nbsp; &nbsp; RGB4EEPROMYAZ ();</p><p>&nbsp; &nbsp; RemoteXY.RGB_5_r = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_5_g = 255;<br />&nbsp; &nbsp; RemoteXY.RGB_5_b = 255;<br />&nbsp; &nbsp; RGB5EEPROMYAZ ();</p><p>&nbsp; &nbsp; RemoteXY.ALLRGB_r = 255;<br />&nbsp; &nbsp; RemoteXY.ALLRGB_g = 255;<br />&nbsp; &nbsp; RemoteXY.ALLRGB_b = 255;<br />&nbsp; }<br />}</p><p>void ALLRGBOFF ()<br />{<br />&nbsp; if (RemoteXY.ALLRGBOFF!=0)<br />&nbsp; {<br />&nbsp; &nbsp; Serial.print(&quot;ALL RGB OFF&quot;);<br />&nbsp; &nbsp; RemoteXY.RGB_1_r = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_1_g = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_1_b = 0;<br />&nbsp; &nbsp; RGB1EEPROMYAZ ();</p><p>&nbsp; &nbsp; RemoteXY.RGB_2_r = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_2_g = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_2_b = 0;<br />&nbsp; &nbsp; RGB2EEPROMYAZ ();</p><p>&nbsp; &nbsp; RemoteXY.RGB_3_r = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_3_g = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_3_b = 0;<br />&nbsp; &nbsp; RGB3EEPROMYAZ ();</p><p>&nbsp; &nbsp; RemoteXY.RGB_4_r = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_4_g = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_4_b = 0;<br />&nbsp; &nbsp; RGB4EEPROMYAZ ();<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; RemoteXY.RGB_5_r = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_5_g = 0;<br />&nbsp; &nbsp; RemoteXY.RGB_5_b = 0;<br />&nbsp; &nbsp; RGB5EEPROMYAZ ();</p><p>&nbsp; &nbsp; RemoteXY.ALLRGB_r = 0;<br />&nbsp; &nbsp; RemoteXY.ALLRGB_g = 0;<br />&nbsp; &nbsp; RemoteXY.ALLRGB_b = 0;<br />&nbsp; }<br />}<br />//ALL RGB KOMUTLARI</p><p>void ALLRGBSETCOLOR(int R, int G, int B) {<br />&nbsp; &nbsp; RemoteXY.RGB_1_r = R;<br />&nbsp; &nbsp; RemoteXY.RGB_1_g = G;<br />&nbsp; &nbsp; RemoteXY.RGB_1_b = B;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; RemoteXY.RGB_2_r = R;<br />&nbsp; &nbsp; RemoteXY.RGB_2_g = G;<br />&nbsp; &nbsp; RemoteXY.RGB_2_b = B;<br />&nbsp; &nbsp; <br />&nbsp; &nbsp; RemoteXY.RGB_3_r = R;<br />&nbsp; &nbsp; RemoteXY.RGB_3_g = G;<br />&nbsp; &nbsp; RemoteXY.RGB_3_b = B;</p><p>&nbsp; &nbsp; RemoteXY.RGB_4_r = R;<br />&nbsp; &nbsp; RemoteXY.RGB_4_g = G;<br />&nbsp; &nbsp; RemoteXY.RGB_4_b = B;</p><p>&nbsp; &nbsp; RemoteXY.RGB_5_r = R;<br />&nbsp; &nbsp; RemoteXY.RGB_5_g = G;<br />&nbsp; &nbsp; RemoteXY.RGB_5_b = B;<br />}</p><p>void EEPROMOKU ()<br />{<br />&nbsp; RemoteXY.RGB_1_r = EEPROM.read(0);<br />&nbsp; RemoteXY.RGB_1_g = EEPROM.read(1);<br />&nbsp; RemoteXY.RGB_1_b = EEPROM.read(2);<br />&nbsp; RemoteXY.RGB_2_r = EEPROM.read(3);<br />&nbsp; RemoteXY.RGB_2_g = EEPROM.read(4);<br />&nbsp; RemoteXY.RGB_2_b = EEPROM.read(5);<br />&nbsp; RemoteXY.RGB_3_r = EEPROM.read(6);<br />&nbsp; RemoteXY.RGB_3_g = EEPROM.read(7);<br />&nbsp; RemoteXY.RGB_3_b = EEPROM.read(8);<br />&nbsp; RemoteXY.RGB_4_r = EEPROM.read(9);<br />&nbsp; RemoteXY.RGB_4_g = EEPROM.read(10);<br />&nbsp; RemoteXY.RGB_4_b = EEPROM.read(11);<br />&nbsp; RemoteXY.RGB_5_r = EEPROM.read(12);<br />&nbsp; RemoteXY.RGB_5_g = EEPROM.read(13);<br />&nbsp; RemoteXY.RGB_5_b = EEPROM.read(14);<br />&nbsp; RemoteXY.RGB1PRESET1LED_r = EEPROM.read(75);<br />&nbsp; RemoteXY.RGB1PRESET1LED_g = EEPROM.read(76);<br />&nbsp; RemoteXY.RGB1PRESET1LED_b = EEPROM.read(77);<br />&nbsp; RemoteXY.RGB1PRESET2LED_r = EEPROM.read(78);<br />&nbsp; RemoteXY.RGB1PRESET2LED_g = EEPROM.read(79);<br />&nbsp; RemoteXY.RGB1PRESET2LED_b = EEPROM.read(80);<br />&nbsp; RemoteXY.RGB2PRESET1LED_r = EEPROM.read(81);<br />&nbsp; RemoteXY.RGB2PRESET1LED_g = EEPROM.read(82);<br />&nbsp; RemoteXY.RGB2PRESET1LED_b = EEPROM.read(83);<br />&nbsp; RemoteXY.RGB2PRESET2LED_r = EEPROM.read(84);<br />&nbsp; RemoteXY.RGB2PRESET2LED_g = EEPROM.read(85);<br />&nbsp; RemoteXY.RGB2PRESET2LED_b = EEPROM.read(86);<br />&nbsp; RemoteXY.RGB3PRESET1LED_r = EEPROM.read(87);<br />&nbsp; RemoteXY.RGB3PRESET1LED_g = EEPROM.read(88);<br />&nbsp; RemoteXY.RGB3PRESET1LED_b = EEPROM.read(89);<br />&nbsp; RemoteXY.RGB3PRESET2LED_r = EEPROM.read(90);<br />&nbsp; RemoteXY.RGB3PRESET2LED_g = EEPROM.read(91);<br />&nbsp; RemoteXY.RGB3PRESET2LED_b = EEPROM.read(92);<br />&nbsp; RemoteXY.RGB4PRESET1LED_r = EEPROM.read(93);<br />&nbsp; RemoteXY.RGB4PRESET1LED_g = EEPROM.read(94);<br />&nbsp; RemoteXY.RGB4PRESET1LED_b = EEPROM.read(95);<br />&nbsp; RemoteXY.RGB4PRESET2LED_r = EEPROM.read(96);<br />&nbsp; RemoteXY.RGB4PRESET2LED_g = EEPROM.read(97);<br />&nbsp; RemoteXY.RGB4PRESET2LED_b = EEPROM.read(98);<br />&nbsp; RemoteXY.RGB5PRESET1LED_r = EEPROM.read(99);<br />&nbsp; RemoteXY.RGB5PRESET1LED_g = EEPROM.read(100);<br />&nbsp; RemoteXY.RGB5PRESET1LED_b = EEPROM.read(101);<br />&nbsp; RemoteXY.RGB5PRESET2LED_r = EEPROM.read(102);<br />&nbsp; RemoteXY.RGB5PRESET2LED_g = EEPROM.read(103);<br />&nbsp; RemoteXY.RGB5PRESET2LED_b = EEPROM.read(104);<br />&nbsp; EEPROM.get(105,RemoteXY.RGB1NAME);<br />&nbsp; EEPROM.get(110,RemoteXY.RGB2NAME);<br />&nbsp; EEPROM.get(115,RemoteXY.RGB3NAME);<br />&nbsp; EEPROM.get(120,RemoteXY.RGB4NAME);<br />&nbsp; EEPROM.get(125,RemoteXY.RGB5NAME);<br />&nbsp; EEPROM.get(130,RemoteXY.PRESET1NAME);<br />&nbsp; EEPROM.get(136,RemoteXY.PRESET2NAME);<br />&nbsp; EEPROM.get(142,RemoteXY.PRESET3NAME);<br />&nbsp; EEPROM.get(148,RemoteXY.PRESET4NAME);<br />&nbsp; EEPROM.get(105,RemoteXY.RGB1NAMESAVE);<br />&nbsp; EEPROM.get(110,RemoteXY.RGB2NAMESAVE);<br />&nbsp; EEPROM.get(115,RemoteXY.RGB3NAMESAVE);<br />&nbsp; EEPROM.get(120,RemoteXY.RGB4NAMESAVE);<br />&nbsp; EEPROM.get(125,RemoteXY.RGB5NAMESAVE);<br />&nbsp; EEPROM.get(130,RemoteXY.PRESET1NAMESAVE);<br />&nbsp; EEPROM.get(136,RemoteXY.PRESET2NAMESAVE);<br />&nbsp; EEPROM.get(142,RemoteXY.PRESET3NAMESAVE);<br />&nbsp; EEPROM.get(148,RemoteXY.PRESET4NAMESAVE);<br />&nbsp; RemoteXY.PRESET1RGBLED1_r = EEPROM.read(15);<br />&nbsp; RemoteXY.PRESET1RGBLED1_g = EEPROM.read(16);<br />&nbsp; RemoteXY.PRESET1RGBLED1_b = EEPROM.read(17);<br />&nbsp; RemoteXY.PRESET1RGBLED2_r = EEPROM.read(18);<br />&nbsp; RemoteXY.PRESET1RGBLED2_g = EEPROM.read(19);<br />&nbsp; RemoteXY.PRESET1RGBLED2_b = EEPROM.read(20);<br />&nbsp; RemoteXY.PRESET1RGBLED3_r = EEPROM.read(21);<br />&nbsp; RemoteXY.PRESET1RGBLED3_g = EEPROM.read(22);<br />&nbsp; RemoteXY.PRESET1RGBLED3_b = EEPROM.read(23);<br />&nbsp; RemoteXY.PRESET1RGBLED4_r = EEPROM.read(24);<br />&nbsp; RemoteXY.PRESET1RGBLED4_g = EEPROM.read(25);<br />&nbsp; RemoteXY.PRESET1RGBLED4_b = EEPROM.read(26);<br />&nbsp; RemoteXY.PRESET1RGBLED5_r = EEPROM.read(27);<br />&nbsp; RemoteXY.PRESET1RGBLED5_g = EEPROM.read(28);<br />&nbsp; RemoteXY.PRESET1RGBLED5_b = EEPROM.read(29);<br />&nbsp; RemoteXY.PRESET2RGBLED1_r = EEPROM.read(30);<br />&nbsp; RemoteXY.PRESET2RGBLED1_g = EEPROM.read(31);<br />&nbsp; RemoteXY.PRESET2RGBLED1_b = EEPROM.read(32);<br />&nbsp; RemoteXY.PRESET2RGBLED2_r = EEPROM.read(33);<br />&nbsp; RemoteXY.PRESET2RGBLED2_g = EEPROM.read(34);<br />&nbsp; RemoteXY.PRESET2RGBLED2_b = EEPROM.read(35);<br />&nbsp; RemoteXY.PRESET2RGBLED3_r = EEPROM.read(36);<br />&nbsp; RemoteXY.PRESET2RGBLED3_g = EEPROM.read(37);<br />&nbsp; RemoteXY.PRESET2RGBLED3_b = EEPROM.read(38);<br />&nbsp; RemoteXY.PRESET2RGBLED4_r = EEPROM.read(39);<br />&nbsp; RemoteXY.PRESET2RGBLED4_g = EEPROM.read(40);<br />&nbsp; RemoteXY.PRESET2RGBLED4_b = EEPROM.read(41);<br />&nbsp; RemoteXY.PRESET2RGBLED5_r = EEPROM.read(42);<br />&nbsp; RemoteXY.PRESET2RGBLED5_g = EEPROM.read(43);<br />&nbsp; RemoteXY.PRESET2RGBLED5_b = EEPROM.read(44);<br />&nbsp; RemoteXY.PRESET3RGBLED1_r = EEPROM.read(45);<br />&nbsp; RemoteXY.PRESET3RGBLED1_g = EEPROM.read(46);<br />&nbsp; RemoteXY.PRESET3RGBLED1_b = EEPROM.read(47);<br />&nbsp; RemoteXY.PRESET3RGBLED2_r = EEPROM.read(48);<br />&nbsp; RemoteXY.PRESET3RGBLED2_g = EEPROM.read(49);<br />&nbsp; RemoteXY.PRESET3RGBLED2_b = EEPROM.read(50);<br />&nbsp; RemoteXY.PRESET3RGBLED3_r = EEPROM.read(51);<br />&nbsp; RemoteXY.PRESET3RGBLED3_g = EEPROM.read(52);<br />&nbsp; RemoteXY.PRESET3RGBLED3_b = EEPROM.read(53);<br />&nbsp; RemoteXY.PRESET3RGBLED4_r = EEPROM.read(54);<br />&nbsp; RemoteXY.PRESET3RGBLED4_g = EEPROM.read(55);<br />&nbsp; RemoteXY.PRESET3RGBLED4_b = EEPROM.read(56);<br />&nbsp; RemoteXY.PRESET3RGBLED5_r = EEPROM.read(57);<br />&nbsp; RemoteXY.PRESET3RGBLED5_g = EEPROM.read(58);<br />&nbsp; RemoteXY.PRESET3RGBLED5_b = EEPROM.read(59);<br />&nbsp; RemoteXY.PRESET4RGBLED1_r = EEPROM.read(60);<br />&nbsp; RemoteXY.PRESET4RGBLED1_g = EEPROM.read(61);<br />&nbsp; RemoteXY.PRESET4RGBLED1_b = EEPROM.read(62);<br />&nbsp; RemoteXY.PRESET4RGBLED2_r = EEPROM.read(63);<br />&nbsp; RemoteXY.PRESET4RGBLED2_g = EEPROM.read(64);<br />&nbsp; RemoteXY.PRESET4RGBLED2_b = EEPROM.read(65);<br />&nbsp; RemoteXY.PRESET4RGBLED3_r = EEPROM.read(66);<br />&nbsp; RemoteXY.PRESET4RGBLED3_g = EEPROM.read(67);<br />&nbsp; RemoteXY.PRESET4RGBLED3_b = EEPROM.read(68);<br />&nbsp; RemoteXY.PRESET4RGBLED4_r = EEPROM.read(69);<br />&nbsp; RemoteXY.PRESET4RGBLED4_g = EEPROM.read(70);<br />&nbsp; RemoteXY.PRESET4RGBLED4_b = EEPROM.read(71);<br />&nbsp; RemoteXY.PRESET4RGBLED5_r = EEPROM.read(72);<br />&nbsp; RemoteXY.PRESET4RGBLED5_g = EEPROM.read(73);<br />&nbsp; RemoteXY.PRESET4RGBLED5_b = EEPROM.read(74);<br />&nbsp; Serial.print(&quot;EEPROM OKUNDU&quot;);<br />}</p><p>void EPPROMLARAYAZ ()<br />{<br />&nbsp; RGB1EEPROMYAZ ();<br />&nbsp; RGB2EEPROMYAZ ();<br />&nbsp; RGB3EEPROMYAZ ();<br />&nbsp; RGB4EEPROMYAZ ();<br />&nbsp; RGB5EEPROMYAZ ();<br />}</p><p>void PRESET1 ()<br />{<br />&nbsp; PRESET1DURUM = RemoteXY.PRESET1;</p><p>&nbsp; if(PRESET1SONDURUM == LOW &amp;&amp; PRESET1DURUM == HIGH)&nbsp; &nbsp; &nbsp; &nbsp; // BUTONA BASILDIGINDA<br />&nbsp; &nbsp; PRESET1BASILMA = millis();<br />&nbsp; else if(PRESET1SONDURUM == HIGH &amp;&amp; PRESET1DURUM == LOW) { // BUTONDAN CEKILDIGINDE<br />&nbsp; &nbsp; PRESET1CEKME = millis();</p><p>&nbsp; &nbsp; long PRESET1BASILMASURESI = PRESET1CEKME - PRESET1BASILMA;</p><p>&nbsp; &nbsp; if( PRESET1BASILMASURESI &lt; KISABASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;PRESET-1 CAGIRILDI&quot;);<br />&nbsp; &nbsp; RemoteXY.RGB_1_r = EEPROM.read(15);<br />&nbsp; &nbsp; RemoteXY.RGB_1_g = EEPROM.read(16);<br />&nbsp; &nbsp; RemoteXY.RGB_1_b = EEPROM.read(17);<br />&nbsp; &nbsp; RemoteXY.RGB_2_r = EEPROM.read(18);<br />&nbsp; &nbsp; RemoteXY.RGB_2_g = EEPROM.read(19);<br />&nbsp; &nbsp; RemoteXY.RGB_2_b = EEPROM.read(20);<br />&nbsp; &nbsp; RemoteXY.RGB_3_r = EEPROM.read(21);<br />&nbsp; &nbsp; RemoteXY.RGB_3_g = EEPROM.read(22);<br />&nbsp; &nbsp; RemoteXY.RGB_3_b = EEPROM.read(23);<br />&nbsp; &nbsp; RemoteXY.RGB_4_r = EEPROM.read(24);<br />&nbsp; &nbsp; RemoteXY.RGB_4_g = EEPROM.read(25);<br />&nbsp; &nbsp; RemoteXY.RGB_4_b = EEPROM.read(26);<br />&nbsp; &nbsp; RemoteXY.RGB_5_r = EEPROM.read(27);<br />&nbsp; &nbsp; RemoteXY.RGB_5_g = EEPROM.read(28);<br />&nbsp; &nbsp; RemoteXY.RGB_5_b = EEPROM.read(29);<br />&nbsp; &nbsp; EPPROMLARAYAZ ();<br />&nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; if( PRESET1BASILMASURESI &gt; UZUNBASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;PRESET-1 KAYDEDILDI&quot;);<br />&nbsp; &nbsp; EEPROM.write(15,RemoteXY.RGB_1_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(16,RemoteXY.RGB_1_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(17,RemoteXY.RGB_1_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(18,RemoteXY.RGB_2_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(19,RemoteXY.RGB_2_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(20,RemoteXY.RGB_2_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(21,RemoteXY.RGB_3_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(22,RemoteXY.RGB_3_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(23,RemoteXY.RGB_3_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(24,RemoteXY.RGB_4_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(25,RemoteXY.RGB_4_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(26,RemoteXY.RGB_4_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(27,RemoteXY.RGB_5_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(28,RemoteXY.RGB_5_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(29,RemoteXY.RGB_5_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EPPROMLARAYAZ ();<br />&nbsp; &nbsp; RemoteXY.PRESET1RGBLED1_r = EEPROM.read(15);<br />&nbsp; &nbsp; RemoteXY.PRESET1RGBLED1_g = EEPROM.read(16);<br />&nbsp; &nbsp; RemoteXY.PRESET1RGBLED1_b = EEPROM.read(17);<br />&nbsp; &nbsp; RemoteXY.PRESET1RGBLED2_r = EEPROM.read(18);<br />&nbsp; &nbsp; RemoteXY.PRESET1RGBLED2_g = EEPROM.read(19);<br />&nbsp; &nbsp; RemoteXY.PRESET1RGBLED2_b = EEPROM.read(20);<br />&nbsp; &nbsp; RemoteXY.PRESET1RGBLED3_r = EEPROM.read(21);<br />&nbsp; &nbsp; RemoteXY.PRESET1RGBLED3_g = EEPROM.read(22);<br />&nbsp; &nbsp; RemoteXY.PRESET1RGBLED3_b = EEPROM.read(23);<br />&nbsp; &nbsp; RemoteXY.PRESET1RGBLED4_r = EEPROM.read(24);<br />&nbsp; &nbsp; RemoteXY.PRESET1RGBLED4_g = EEPROM.read(25);<br />&nbsp; &nbsp; RemoteXY.PRESET1RGBLED4_b = EEPROM.read(26);<br />&nbsp; &nbsp; RemoteXY.PRESET1RGBLED5_r = EEPROM.read(27);<br />&nbsp; &nbsp; RemoteXY.PRESET1RGBLED5_g = EEPROM.read(28);<br />&nbsp; &nbsp; RemoteXY.PRESET1RGBLED5_b = EEPROM.read(29);<br />&nbsp; &nbsp; }<br />&nbsp; }<br />&nbsp; PRESET1SONDURUM = PRESET1DURUM;<br />}</p><p>void PRESET2 ()<br />{<br />&nbsp; PRESET2DURUM = RemoteXY.PRESET2;</p><p>&nbsp; if(PRESET2SONDURUM == LOW &amp;&amp; PRESET2DURUM == HIGH)&nbsp; &nbsp; &nbsp; &nbsp; // BUTONA BASILDIGINDA<br />&nbsp; &nbsp; PRESET2BASILMA = millis();<br />&nbsp; else if(PRESET2SONDURUM == HIGH &amp;&amp; PRESET2DURUM == LOW) { // BUTONDAN CEKILDIGINDE<br />&nbsp; &nbsp; PRESET2CEKME = millis();</p><p>&nbsp; &nbsp; long PRESET2BASILMASURESI = PRESET2CEKME - PRESET2BASILMA;</p><p>&nbsp; &nbsp; if( PRESET2BASILMASURESI &lt; KISABASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;PRESET-2 CAGIRILDI&quot;);<br />&nbsp; &nbsp; RemoteXY.RGB_1_r = EEPROM.read(30);<br />&nbsp; &nbsp; RemoteXY.RGB_1_g = EEPROM.read(31);<br />&nbsp; &nbsp; RemoteXY.RGB_1_b = EEPROM.read(32);<br />&nbsp; &nbsp; RemoteXY.RGB_2_r = EEPROM.read(33);<br />&nbsp; &nbsp; RemoteXY.RGB_2_g = EEPROM.read(34);<br />&nbsp; &nbsp; RemoteXY.RGB_2_b = EEPROM.read(35);<br />&nbsp; &nbsp; RemoteXY.RGB_3_r = EEPROM.read(36);<br />&nbsp; &nbsp; RemoteXY.RGB_3_g = EEPROM.read(37);<br />&nbsp; &nbsp; RemoteXY.RGB_3_b = EEPROM.read(38);<br />&nbsp; &nbsp; RemoteXY.RGB_4_r = EEPROM.read(39);<br />&nbsp; &nbsp; RemoteXY.RGB_4_g = EEPROM.read(40);<br />&nbsp; &nbsp; RemoteXY.RGB_4_b = EEPROM.read(41);<br />&nbsp; &nbsp; RemoteXY.RGB_5_r = EEPROM.read(42);<br />&nbsp; &nbsp; RemoteXY.RGB_5_g = EEPROM.read(43);<br />&nbsp; &nbsp; RemoteXY.RGB_5_b = EEPROM.read(44);<br />&nbsp; &nbsp; EPPROMLARAYAZ ();<br />&nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; if( PRESET2BASILMASURESI &gt; UZUNBASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;PRESET-2 KAYDEDILDI&quot;);<br />&nbsp; &nbsp; EEPROM.write(30,RemoteXY.RGB_1_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(31,RemoteXY.RGB_1_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(32,RemoteXY.RGB_1_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(33,RemoteXY.RGB_2_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(34,RemoteXY.RGB_2_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(35,RemoteXY.RGB_2_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(36,RemoteXY.RGB_3_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(37,RemoteXY.RGB_3_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(38,RemoteXY.RGB_3_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(39,RemoteXY.RGB_4_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(40,RemoteXY.RGB_4_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(41,RemoteXY.RGB_4_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(42,RemoteXY.RGB_5_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(43,RemoteXY.RGB_5_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(44,RemoteXY.RGB_5_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EPPROMLARAYAZ ();<br />&nbsp; &nbsp; RemoteXY.PRESET2RGBLED1_r = EEPROM.read(30);<br />&nbsp; &nbsp; RemoteXY.PRESET2RGBLED1_g = EEPROM.read(31);<br />&nbsp; &nbsp; RemoteXY.PRESET2RGBLED1_b = EEPROM.read(32);<br />&nbsp; &nbsp; RemoteXY.PRESET2RGBLED2_r = EEPROM.read(33);<br />&nbsp; &nbsp; RemoteXY.PRESET2RGBLED2_g = EEPROM.read(34);<br />&nbsp; &nbsp; RemoteXY.PRESET2RGBLED2_b = EEPROM.read(35);<br />&nbsp; &nbsp; RemoteXY.PRESET2RGBLED3_r = EEPROM.read(36);<br />&nbsp; &nbsp; RemoteXY.PRESET2RGBLED3_g = EEPROM.read(37);<br />&nbsp; &nbsp; RemoteXY.PRESET2RGBLED3_b = EEPROM.read(38);<br />&nbsp; &nbsp; RemoteXY.PRESET2RGBLED4_r = EEPROM.read(39);<br />&nbsp; &nbsp; RemoteXY.PRESET2RGBLED4_g = EEPROM.read(40);<br />&nbsp; &nbsp; RemoteXY.PRESET2RGBLED4_b = EEPROM.read(41);<br />&nbsp; &nbsp; RemoteXY.PRESET2RGBLED5_r = EEPROM.read(42);<br />&nbsp; &nbsp; RemoteXY.PRESET2RGBLED5_g = EEPROM.read(43);<br />&nbsp; &nbsp; RemoteXY.PRESET2RGBLED5_b = EEPROM.read(44);<br />&nbsp; &nbsp; }<br />&nbsp; }<br />&nbsp; PRESET2SONDURUM = PRESET2DURUM;<br />}</p><p>void PRESET3 ()<br />{<br />&nbsp; PRESET3DURUM = RemoteXY.PRESET3;</p><p>&nbsp; if(PRESET3SONDURUM == LOW &amp;&amp; PRESET3DURUM == HIGH)&nbsp; &nbsp; &nbsp; &nbsp; // BUTONA BASILDIGINDA<br />&nbsp; &nbsp; PRESET3BASILMA = millis();<br />&nbsp; else if(PRESET3SONDURUM == HIGH &amp;&amp; PRESET3DURUM == LOW) { // BUTONDAN CEKILDIGINDE<br />&nbsp; &nbsp; PRESET3CEKME = millis();</p><p>&nbsp; &nbsp; long PRESET3BASILMASURESI = PRESET3CEKME - PRESET3BASILMA;</p><p>&nbsp; &nbsp; if( PRESET3BASILMASURESI &lt; KISABASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;PRESET-3 CAGIRILDI&quot;);<br />&nbsp; &nbsp; RemoteXY.RGB_1_r = EEPROM.read(45);<br />&nbsp; &nbsp; RemoteXY.RGB_1_g = EEPROM.read(46);<br />&nbsp; &nbsp; RemoteXY.RGB_1_b = EEPROM.read(47);<br />&nbsp; &nbsp; RemoteXY.RGB_2_r = EEPROM.read(48);<br />&nbsp; &nbsp; RemoteXY.RGB_2_g = EEPROM.read(49);<br />&nbsp; &nbsp; RemoteXY.RGB_2_b = EEPROM.read(50);<br />&nbsp; &nbsp; RemoteXY.RGB_3_r = EEPROM.read(51);<br />&nbsp; &nbsp; RemoteXY.RGB_3_g = EEPROM.read(52);<br />&nbsp; &nbsp; RemoteXY.RGB_3_b = EEPROM.read(53);<br />&nbsp; &nbsp; RemoteXY.RGB_4_r = EEPROM.read(54);<br />&nbsp; &nbsp; RemoteXY.RGB_4_g = EEPROM.read(55);<br />&nbsp; &nbsp; RemoteXY.RGB_4_b = EEPROM.read(56);<br />&nbsp; &nbsp; RemoteXY.RGB_5_r = EEPROM.read(57);<br />&nbsp; &nbsp; RemoteXY.RGB_5_g = EEPROM.read(58);<br />&nbsp; &nbsp; RemoteXY.RGB_5_b = EEPROM.read(59);<br />&nbsp; &nbsp; EPPROMLARAYAZ ();<br />&nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; if( PRESET3BASILMASURESI &gt; UZUNBASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;PRESET-3 KAYDEDILDI&quot;);<br />&nbsp; &nbsp; EEPROM.write(45,RemoteXY.RGB_1_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(46,RemoteXY.RGB_1_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(47,RemoteXY.RGB_1_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(48,RemoteXY.RGB_2_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(49,RemoteXY.RGB_2_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(50,RemoteXY.RGB_2_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(51,RemoteXY.RGB_3_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(52,RemoteXY.RGB_3_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(53,RemoteXY.RGB_3_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(54,RemoteXY.RGB_4_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(55,RemoteXY.RGB_4_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(56,RemoteXY.RGB_4_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(57,RemoteXY.RGB_5_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(58,RemoteXY.RGB_5_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(59,RemoteXY.RGB_5_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EPPROMLARAYAZ ();<br />&nbsp; &nbsp; RemoteXY.PRESET3RGBLED1_r = EEPROM.read(45);<br />&nbsp; &nbsp; RemoteXY.PRESET3RGBLED1_g = EEPROM.read(46);<br />&nbsp; &nbsp; RemoteXY.PRESET3RGBLED1_b = EEPROM.read(47);<br />&nbsp; &nbsp; RemoteXY.PRESET3RGBLED2_r = EEPROM.read(48);<br />&nbsp; &nbsp; RemoteXY.PRESET3RGBLED2_g = EEPROM.read(49);<br />&nbsp; &nbsp; RemoteXY.PRESET3RGBLED2_b = EEPROM.read(50);<br />&nbsp; &nbsp; RemoteXY.PRESET3RGBLED3_r = EEPROM.read(51);<br />&nbsp; &nbsp; RemoteXY.PRESET3RGBLED3_g = EEPROM.read(52);<br />&nbsp; &nbsp; RemoteXY.PRESET3RGBLED3_b = EEPROM.read(53);<br />&nbsp; &nbsp; RemoteXY.PRESET3RGBLED4_r = EEPROM.read(54);<br />&nbsp; &nbsp; RemoteXY.PRESET3RGBLED4_g = EEPROM.read(55);<br />&nbsp; &nbsp; RemoteXY.PRESET3RGBLED4_b = EEPROM.read(56);<br />&nbsp; &nbsp; RemoteXY.PRESET3RGBLED5_r = EEPROM.read(57);<br />&nbsp; &nbsp; RemoteXY.PRESET3RGBLED5_g = EEPROM.read(58);<br />&nbsp; &nbsp; RemoteXY.PRESET3RGBLED5_b = EEPROM.read(59);<br />&nbsp; &nbsp; }<br />&nbsp; }<br />&nbsp; PRESET3SONDURUM = PRESET3DURUM;<br />}</p><p>void PRESET4 ()<br />{<br />&nbsp; PRESET4DURUM = RemoteXY.PRESET4;</p><p>&nbsp; if(PRESET4SONDURUM == LOW &amp;&amp; PRESET4DURUM == HIGH)&nbsp; &nbsp; &nbsp; &nbsp; // BUTONA BASILDIGINDA<br />&nbsp; &nbsp; PRESET4BASILMA = millis();<br />&nbsp; else if(PRESET4SONDURUM == HIGH &amp;&amp; PRESET4DURUM == LOW) { // BUTONDAN CEKILDIGINDE<br />&nbsp; &nbsp; PRESET4CEKME = millis();</p><p>&nbsp; &nbsp; long PRESET4BASILMASURESI = PRESET4CEKME - PRESET4BASILMA;</p><p>&nbsp; &nbsp; if( PRESET4BASILMASURESI &lt; KISABASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;PRESET-4 CAGIRILDI&quot;);<br />&nbsp; &nbsp; RemoteXY.RGB_1_r = EEPROM.read(60);<br />&nbsp; &nbsp; RemoteXY.RGB_1_g = EEPROM.read(61);<br />&nbsp; &nbsp; RemoteXY.RGB_1_b = EEPROM.read(62);<br />&nbsp; &nbsp; RemoteXY.RGB_2_r = EEPROM.read(63);<br />&nbsp; &nbsp; RemoteXY.RGB_2_g = EEPROM.read(64);<br />&nbsp; &nbsp; RemoteXY.RGB_2_b = EEPROM.read(65);<br />&nbsp; &nbsp; RemoteXY.RGB_3_r = EEPROM.read(66);<br />&nbsp; &nbsp; RemoteXY.RGB_3_g = EEPROM.read(67);<br />&nbsp; &nbsp; RemoteXY.RGB_3_b = EEPROM.read(68);<br />&nbsp; &nbsp; RemoteXY.RGB_4_r = EEPROM.read(69);<br />&nbsp; &nbsp; RemoteXY.RGB_4_g = EEPROM.read(70);<br />&nbsp; &nbsp; RemoteXY.RGB_4_b = EEPROM.read(71);<br />&nbsp; &nbsp; RemoteXY.RGB_5_r = EEPROM.read(72);<br />&nbsp; &nbsp; RemoteXY.RGB_5_g = EEPROM.read(73);<br />&nbsp; &nbsp; RemoteXY.RGB_5_b = EEPROM.read(74);<br />&nbsp; &nbsp; EPPROMLARAYAZ ();<br />&nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; if( PRESET4BASILMASURESI &gt; UZUNBASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;PRESET-4 KAYDEDILDI&quot;);&nbsp; <br />&nbsp; &nbsp; EEPROM.write(60,RemoteXY.RGB_1_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(61,RemoteXY.RGB_1_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(62,RemoteXY.RGB_1_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(63,RemoteXY.RGB_2_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(64,RemoteXY.RGB_2_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(65,RemoteXY.RGB_2_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(66,RemoteXY.RGB_3_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(67,RemoteXY.RGB_3_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(68,RemoteXY.RGB_3_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(69,RemoteXY.RGB_4_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(70,RemoteXY.RGB_4_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(71,RemoteXY.RGB_4_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(72,RemoteXY.RGB_5_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(73,RemoteXY.RGB_5_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(74,RemoteXY.RGB_5_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EPPROMLARAYAZ ();<br />&nbsp; &nbsp; RemoteXY.PRESET4RGBLED1_r = EEPROM.read(60);<br />&nbsp; &nbsp; RemoteXY.PRESET4RGBLED1_g = EEPROM.read(61);<br />&nbsp; &nbsp; RemoteXY.PRESET4RGBLED1_b = EEPROM.read(62);<br />&nbsp; &nbsp; RemoteXY.PRESET4RGBLED2_r = EEPROM.read(63);<br />&nbsp; &nbsp; RemoteXY.PRESET4RGBLED2_g = EEPROM.read(64);<br />&nbsp; &nbsp; RemoteXY.PRESET4RGBLED2_b = EEPROM.read(65);<br />&nbsp; &nbsp; RemoteXY.PRESET4RGBLED3_r = EEPROM.read(66);<br />&nbsp; &nbsp; RemoteXY.PRESET4RGBLED3_g = EEPROM.read(67);<br />&nbsp; &nbsp; RemoteXY.PRESET4RGBLED3_b = EEPROM.read(68);<br />&nbsp; &nbsp; RemoteXY.PRESET4RGBLED4_r = EEPROM.read(69);<br />&nbsp; &nbsp; RemoteXY.PRESET4RGBLED4_g = EEPROM.read(70);<br />&nbsp; &nbsp; RemoteXY.PRESET4RGBLED4_b = EEPROM.read(71);<br />&nbsp; &nbsp; RemoteXY.PRESET4RGBLED5_r = EEPROM.read(72);<br />&nbsp; &nbsp; RemoteXY.PRESET4RGBLED5_g = EEPROM.read(73);<br />&nbsp; &nbsp; RemoteXY.PRESET4RGBLED5_b = EEPROM.read(74);<br />&nbsp; &nbsp; }<br />&nbsp; }<br />&nbsp; PRESET4SONDURUM = PRESET4DURUM;<br />}</p><p>void RGB1PRESET1 ()<br />{<br />&nbsp; RGB1PRESET1DURUM = RemoteXY.RGB1PRESET1;</p><p>&nbsp; if(RGB1PRESET1SONDURUM == LOW &amp;&amp; RGB1PRESET1DURUM == HIGH) { //BUTONDAN BASILDIGINDA<br />&nbsp; &nbsp; RGB1PRESET1BASILMA = millis();<br />}&nbsp; <br />&nbsp; else if(RGB1PRESET1SONDURUM == HIGH &amp;&amp; RGB1PRESET1DURUM == LOW) { // BUTONDAN CEKILDIGINDE<br />&nbsp; &nbsp; RGB1PRESET1CEKME = millis();</p><p>&nbsp; &nbsp; long RGB1PRESET1BASILMASURESI = RGB1PRESET1CEKME - RGB1PRESET1BASILMA;</p><p>&nbsp; &nbsp; if( RGB1PRESET1BASILMASURESI &lt; KISABASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-1 PRESET-1 CAGIRILDI&quot;);&nbsp; <br />&nbsp; &nbsp; RemoteXY.RGB_1_r = EEPROM.read(75);<br />&nbsp; &nbsp; RemoteXY.RGB_1_g = EEPROM.read(76);<br />&nbsp; &nbsp; RemoteXY.RGB_1_b = EEPROM.read(77);<br />&nbsp; &nbsp; RGB1EEPROMYAZ ();<br />&nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; if( RGB1PRESET1BASILMASURESI &gt; UZUNBASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-1 PRESET-1 KAYDEDILDI&quot;);&nbsp; <br />&nbsp; &nbsp; EEPROM.write(75,RemoteXY.RGB_1_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(76,RemoteXY.RGB_1_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(77,RemoteXY.RGB_1_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; RGB1EEPROMYAZ ();<br />&nbsp; &nbsp; RemoteXY.RGB1PRESET1LED_r = EEPROM.read(75);<br />&nbsp; &nbsp; RemoteXY.RGB1PRESET1LED_g = EEPROM.read(76);<br />&nbsp; &nbsp; RemoteXY.RGB1PRESET1LED_b = EEPROM.read(77);<br />&nbsp; }</p><p>&nbsp; }<br />&nbsp; RGB1PRESET1SONDURUM = RGB1PRESET1DURUM;<br />}</p><p>void RGB1PRESET2 ()<br />{<br />&nbsp; RGB1PRESET2DURUM = RemoteXY.RGB1PRESET2;</p><p>&nbsp; if(RGB1PRESET2SONDURUM == LOW &amp;&amp; RGB1PRESET2DURUM == HIGH)&nbsp; &nbsp; &nbsp; &nbsp; // BUTONA BASILDIGINDA<br />&nbsp; &nbsp; RGB1PRESET2BASILMA = millis();<br />&nbsp; else if(RGB1PRESET2SONDURUM == HIGH &amp;&amp; RGB1PRESET2DURUM == LOW) { // BUTONDAN CEKILDIGINDE<br />&nbsp; &nbsp; RGB1PRESET2CEKME = millis();</p><p>&nbsp; &nbsp; long RGB1PRESET2BASILMASURESI = RGB1PRESET2CEKME - RGB1PRESET2BASILMA;</p><p>&nbsp; &nbsp; if( RGB1PRESET2BASILMASURESI &lt; KISABASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-1 PRESET-2 CAGIRILDI&quot;);&nbsp; <br />&nbsp; &nbsp; RemoteXY.RGB_1_r = EEPROM.read(78);<br />&nbsp; &nbsp; RemoteXY.RGB_1_g = EEPROM.read(79);<br />&nbsp; &nbsp; RemoteXY.RGB_1_b = EEPROM.read(77);<br />&nbsp; &nbsp; RGB1EEPROMYAZ ();<br />&nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; if( RGB1PRESET2BASILMASURESI &gt; UZUNBASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-1 PRESET-2 KAYDEDILDI&quot;);&nbsp; <br />&nbsp; &nbsp; EEPROM.write(78,RemoteXY.RGB_1_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(79,RemoteXY.RGB_1_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(80,RemoteXY.RGB_1_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; RGB1EEPROMYAZ ();<br />&nbsp; &nbsp; RemoteXY.RGB1PRESET2LED_r = EEPROM.read(78);<br />&nbsp; &nbsp; RemoteXY.RGB1PRESET2LED_g = EEPROM.read(79);<br />&nbsp; &nbsp; RemoteXY.RGB1PRESET2LED_b = EEPROM.read(80);<br />&nbsp; }</p><p>&nbsp; }<br />&nbsp; RGB1PRESET2SONDURUM = RGB1PRESET2DURUM;<br />}</p><p>void RGB2PRESET1 ()<br />{<br />&nbsp; RGB2PRESET1DURUM = RemoteXY.RGB2PRESET1;</p><p>&nbsp; if(RGB2PRESET1SONDURUM == LOW &amp;&amp; RGB2PRESET1DURUM == HIGH)&nbsp; &nbsp; &nbsp; &nbsp; // BUTONA BASILDIGINDA<br />&nbsp; &nbsp; RGB2PRESET1BASILMA = millis();<br />&nbsp; else if(RGB2PRESET1SONDURUM == HIGH &amp;&amp; RGB2PRESET1DURUM == LOW) { // BUTONDAN CEKILDIGINDE<br />&nbsp; &nbsp; RGB2PRESET1CEKME = millis();</p><p>&nbsp; &nbsp; long RGB2PRESET1BASILMASURESI = RGB2PRESET1CEKME - RGB2PRESET1BASILMA;</p><p>&nbsp; &nbsp; if( RGB2PRESET1BASILMASURESI &lt; KISABASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-2 PRESET-1 CAGIRILDI&quot;);&nbsp; <br />&nbsp; &nbsp; RemoteXY.RGB_2_r = EEPROM.read(81);<br />&nbsp; &nbsp; RemoteXY.RGB_2_g = EEPROM.read(82);<br />&nbsp; &nbsp; RemoteXY.RGB_2_b = EEPROM.read(83);<br />&nbsp; &nbsp; RGB2EEPROMYAZ ();<br />&nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; if( RGB2PRESET1BASILMASURESI &gt; UZUNBASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-2 PRESET-1 KAYDEDILDI&quot;);<br />&nbsp; &nbsp; EEPROM.write(81,RemoteXY.RGB_2_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(82,RemoteXY.RGB_2_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(83,RemoteXY.RGB_2_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; RGB2EEPROMYAZ ();<br />&nbsp; &nbsp; RemoteXY.RGB2PRESET1LED_r = EEPROM.read(81);<br />&nbsp; &nbsp; RemoteXY.RGB2PRESET1LED_g = EEPROM.read(82);<br />&nbsp; &nbsp; RemoteXY.RGB2PRESET1LED_b = EEPROM.read(83);<br />&nbsp; }</p><p>&nbsp; }<br />&nbsp; RGB2PRESET1SONDURUM = RGB2PRESET1DURUM;<br />}</p><p>void RGB2PRESET2 ()<br />{<br />&nbsp; RGB2PRESET2DURUM = RemoteXY.RGB2PRESET2;</p><p>&nbsp; if(RGB2PRESET2SONDURUM == LOW &amp;&amp; RGB2PRESET2DURUM == HIGH)&nbsp; &nbsp; &nbsp; &nbsp; // BUTONA BASILDIGINDA<br />&nbsp; &nbsp; RGB2PRESET2BASILMA = millis();<br />&nbsp; else if(RGB2PRESET2SONDURUM == HIGH &amp;&amp; RGB2PRESET2DURUM == LOW) { // BUTONDAN CEKILDIGINDE<br />&nbsp; &nbsp; RGB2PRESET2CEKME = millis();</p><p>&nbsp; &nbsp; long RGB2PRESET2BASILMASURESI = RGB2PRESET2CEKME - RGB2PRESET2BASILMA;</p><p>&nbsp; &nbsp; if( RGB2PRESET2BASILMASURESI &lt; KISABASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-2 PRESET-2 CAGIRILDI&quot;);&nbsp; <br />&nbsp; &nbsp; RemoteXY.RGB_2_r = EEPROM.read(84);<br />&nbsp; &nbsp; RemoteXY.RGB_2_g = EEPROM.read(85);<br />&nbsp; &nbsp; RemoteXY.RGB_2_b = EEPROM.read(86);<br />&nbsp; &nbsp; RGB2EEPROMYAZ ();<br />&nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; if( RGB2PRESET2BASILMASURESI &gt; UZUNBASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-2 PRESET-2 KAYDEDILDI&quot;);&nbsp; <br />&nbsp; &nbsp; EEPROM.write(84,RemoteXY.RGB_2_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(85,RemoteXY.RGB_2_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(86,RemoteXY.RGB_2_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; RGB2EEPROMYAZ ();<br />&nbsp; &nbsp; RemoteXY.RGB2PRESET2LED_r = EEPROM.read(84);<br />&nbsp; &nbsp; RemoteXY.RGB2PRESET2LED_g = EEPROM.read(85);<br />&nbsp; &nbsp; RemoteXY.RGB2PRESET2LED_b = EEPROM.read(86);<br />&nbsp; }</p><p>&nbsp; }<br />&nbsp; RGB2PRESET2SONDURUM = RGB2PRESET2DURUM;<br />}</p><p>void RGB3PRESET1 ()<br />{<br />&nbsp; RGB3PRESET1DURUM = RemoteXY.RGB3PRESET1;</p><p>&nbsp; if(RGB3PRESET1SONDURUM == LOW &amp;&amp; RGB3PRESET1DURUM == HIGH)&nbsp; &nbsp; &nbsp; &nbsp; // BUTONA BASILDIGINDA<br />&nbsp; &nbsp; RGB3PRESET1BASILMA = millis();<br />&nbsp; else if(RGB3PRESET1SONDURUM == HIGH &amp;&amp; RGB3PRESET1DURUM == LOW) { // BUTONDAN CEKILDIGINDE<br />&nbsp; &nbsp; RGB3PRESET1CEKME = millis();</p><p>&nbsp; &nbsp; long RGB3PRESET1BASILMASURESI = RGB3PRESET1CEKME - RGB3PRESET1BASILMA;</p><p>&nbsp; &nbsp; if( RGB3PRESET1BASILMASURESI &lt; KISABASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-3 PRESET-1 CAGIRILDI&quot;); <br />&nbsp; &nbsp; RemoteXY.RGB_3_r = EEPROM.read(87);<br />&nbsp; &nbsp; RemoteXY.RGB_3_g = EEPROM.read(88);<br />&nbsp; &nbsp; RemoteXY.RGB_3_b = EEPROM.read(89);<br />&nbsp; &nbsp; RGB3EEPROMYAZ ();<br />&nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; if( RGB3PRESET1BASILMASURESI &gt; UZUNBASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-3 PRESET-1 KAYDEDILDI&quot;);&nbsp; <br />&nbsp; &nbsp; EEPROM.write(87,RemoteXY.RGB_3_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(88,RemoteXY.RGB_3_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(89,RemoteXY.RGB_3_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; RGB3EEPROMYAZ ();<br />&nbsp; &nbsp; RemoteXY.RGB3PRESET1LED_r = EEPROM.read(87);<br />&nbsp; &nbsp; RemoteXY.RGB3PRESET1LED_g = EEPROM.read(88);<br />&nbsp; &nbsp; RemoteXY.RGB3PRESET1LED_b = EEPROM.read(89);<br />&nbsp; }</p><p>&nbsp; }<br />&nbsp; RGB3PRESET1SONDURUM = RGB3PRESET1DURUM;<br />}</p><p>void RGB3PRESET2 ()<br />{<br />&nbsp; RGB3PRESET2DURUM = RemoteXY.RGB3PRESET2;</p><p>&nbsp; if(RGB3PRESET2SONDURUM == LOW &amp;&amp; RGB3PRESET2DURUM == HIGH)&nbsp; &nbsp; &nbsp; &nbsp; // BUTONA BASILDIGINDA<br />&nbsp; &nbsp; RGB3PRESET2BASILMA = millis();<br />&nbsp; else if(RGB3PRESET2SONDURUM == HIGH &amp;&amp; RGB3PRESET2DURUM == LOW) { // BUTONDAN CEKILDIGINDE<br />&nbsp; &nbsp; RGB3PRESET2CEKME = millis();</p><p>&nbsp; &nbsp; long RGB3PRESET2BASILMASURESI = RGB3PRESET2CEKME - RGB3PRESET2BASILMA;</p><p>&nbsp; &nbsp; if( RGB3PRESET2BASILMASURESI &lt; KISABASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-3 PRESET-2 CAGIRILDI&quot;);<br />&nbsp; &nbsp; RemoteXY.RGB_3_r = EEPROM.read(90);<br />&nbsp; &nbsp; RemoteXY.RGB_3_g = EEPROM.read(91);<br />&nbsp; &nbsp; RemoteXY.RGB_3_b = EEPROM.read(92);<br />&nbsp; &nbsp; RGB3EEPROMYAZ ();<br />&nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; if( RGB3PRESET2BASILMASURESI &gt; UZUNBASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-3 PRESET-2 KAYDEDILDI&quot;);<br />&nbsp; &nbsp; EEPROM.write(90,RemoteXY.RGB_3_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(91,RemoteXY.RGB_3_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(92,RemoteXY.RGB_3_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; RGB3EEPROMYAZ ();<br />&nbsp; &nbsp; RemoteXY.RGB3PRESET2LED_r = EEPROM.read(90);<br />&nbsp; &nbsp; RemoteXY.RGB3PRESET2LED_g = EEPROM.read(91);<br />&nbsp; &nbsp; RemoteXY.RGB3PRESET2LED_b = EEPROM.read(92);<br />&nbsp; }</p><p>&nbsp; }<br />&nbsp; RGB3PRESET2SONDURUM = RGB3PRESET2DURUM;<br />}</p><p>void RGB4PRESET1 ()<br />{<br />&nbsp; RGB4PRESET1DURUM = RemoteXY.RGB4PRESET1;</p><p>&nbsp; if(RGB4PRESET1SONDURUM == LOW &amp;&amp; RGB4PRESET1DURUM == HIGH)&nbsp; &nbsp; &nbsp; &nbsp; // BUTONA BASILDIGINDA<br />&nbsp; &nbsp; RGB4PRESET1BASILMA = millis();<br />&nbsp; else if(RGB4PRESET1SONDURUM == HIGH &amp;&amp; RGB4PRESET1DURUM == LOW) { // BUTONDAN CEKILDIGINDE<br />&nbsp; &nbsp; RGB4PRESET1CEKME = millis();</p><p>&nbsp; &nbsp; long RGB4PRESET1BASILMASURESI = RGB4PRESET1CEKME - RGB4PRESET1BASILMA;</p><p>&nbsp; &nbsp; if( RGB4PRESET1BASILMASURESI &lt; KISABASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-4 PRESET-1 CAGIRILDI&quot;);<br />&nbsp; &nbsp; RemoteXY.RGB_4_r = EEPROM.read(93);<br />&nbsp; &nbsp; RemoteXY.RGB_4_g = EEPROM.read(94);<br />&nbsp; &nbsp; RemoteXY.RGB_4_b = EEPROM.read(95);<br />&nbsp; &nbsp; RGB4EEPROMYAZ ();<br />&nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; if( RGB4PRESET1BASILMASURESI &gt; UZUNBASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-4 PRESET-1 KAYDEDILDI&quot;);&nbsp; <br />&nbsp; &nbsp; EEPROM.write(93,RemoteXY.RGB_4_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(94,RemoteXY.RGB_4_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(95,RemoteXY.RGB_4_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; RGB4EEPROMYAZ ();<br />&nbsp; &nbsp; RemoteXY.RGB4PRESET1LED_r = EEPROM.read(93);<br />&nbsp; &nbsp; RemoteXY.RGB4PRESET1LED_g = EEPROM.read(94);<br />&nbsp; &nbsp; RemoteXY.RGB4PRESET1LED_b = EEPROM.read(95);<br />&nbsp; }</p><p>&nbsp; }<br />&nbsp; RGB4PRESET1SONDURUM = RGB4PRESET1DURUM;<br />}</p><p>void RGB4PRESET2 ()<br />{<br />&nbsp; RGB4PRESET2DURUM = RemoteXY.RGB4PRESET2;</p><p>&nbsp; if(RGB4PRESET2SONDURUM == LOW &amp;&amp; RGB4PRESET2DURUM == HIGH)&nbsp; &nbsp; &nbsp; &nbsp; // BUTONA BASILDIGINDA<br />&nbsp; &nbsp; RGB4PRESET2BASILMA = millis();<br />&nbsp; else if(RGB4PRESET2SONDURUM == HIGH &amp;&amp; RGB4PRESET2DURUM == LOW) { // BUTONDAN CEKILDIGINDE<br />&nbsp; &nbsp; RGB4PRESET2CEKME = millis();</p><p>&nbsp; &nbsp; long RGB4PRESET2BASILMASURESI = RGB4PRESET2CEKME - RGB4PRESET2BASILMA;</p><p>&nbsp; &nbsp; if( RGB4PRESET2BASILMASURESI &lt; KISABASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-4 PRESET-2 CAGIRILDI&quot;);<br />&nbsp; &nbsp; RemoteXY.RGB_4_r = EEPROM.read(96);<br />&nbsp; &nbsp; RemoteXY.RGB_4_g = EEPROM.read(97);<br />&nbsp; &nbsp; RemoteXY.RGB_4_b = EEPROM.read(98);<br />&nbsp; &nbsp; RGB4EEPROMYAZ ();<br />&nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; if( RGB4PRESET2BASILMASURESI &gt; UZUNBASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-4 PRESET-2 KAYDEDILDI&quot;);<br />&nbsp; &nbsp; EEPROM.write(96,RemoteXY.RGB_4_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(97,RemoteXY.RGB_4_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(98,RemoteXY.RGB_4_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; RGB4EEPROMYAZ ();<br />&nbsp; &nbsp; RemoteXY.RGB4PRESET2LED_r = EEPROM.read(96);<br />&nbsp; &nbsp; RemoteXY.RGB4PRESET2LED_g = EEPROM.read(97);<br />&nbsp; &nbsp; RemoteXY.RGB4PRESET2LED_b = EEPROM.read(98);<br />&nbsp; }</p><p>&nbsp; }<br />&nbsp; RGB4PRESET2SONDURUM = RGB4PRESET2DURUM;<br />}</p><p>void RGB5PRESET1 ()<br />{<br />&nbsp; RGB5PRESET1DURUM = RemoteXY.RGB5PRESET1;</p><p>&nbsp; if(RGB5PRESET1SONDURUM == LOW &amp;&amp; RGB5PRESET1DURUM == HIGH)&nbsp; &nbsp; &nbsp; &nbsp; // BUTONA BASILDIGINDA<br />&nbsp; &nbsp; RGB5PRESET1BASILMA = millis();<br />&nbsp; else if(RGB5PRESET1SONDURUM == HIGH &amp;&amp; RGB5PRESET1DURUM == LOW) { // BUTONDAN CEKILDIGINDE<br />&nbsp; &nbsp; RGB5PRESET1CEKME = millis();</p><p>&nbsp; &nbsp; long RGB5PRESET1BASILMASURESI = RGB5PRESET1CEKME - RGB5PRESET1BASILMA;</p><p>&nbsp; &nbsp; if( RGB5PRESET1BASILMASURESI &lt; KISABASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-5 PRESET-1 CAGIRILDI&quot;);<br />&nbsp; &nbsp; RemoteXY.RGB_5_r = EEPROM.read(99);<br />&nbsp; &nbsp; RemoteXY.RGB_5_g = EEPROM.read(100);<br />&nbsp; &nbsp; RemoteXY.RGB_5_b = EEPROM.read(101);<br />&nbsp; &nbsp; RGB5EEPROMYAZ ();<br />&nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; if( RGB5PRESET1BASILMASURESI &gt; UZUNBASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-5 PRESET-1 KAYDEDILDI&quot;);&nbsp; <br />&nbsp; &nbsp; EEPROM.write(99,RemoteXY.RGB_5_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(100,RemoteXY.RGB_5_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(101,RemoteXY.RGB_5_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; RGB5EEPROMYAZ ();<br />&nbsp; &nbsp; RemoteXY.RGB5PRESET1LED_r = EEPROM.read(99);<br />&nbsp; &nbsp; RemoteXY.RGB5PRESET1LED_g = EEPROM.read(100);<br />&nbsp; &nbsp; RemoteXY.RGB5PRESET1LED_b = EEPROM.read(101);<br />&nbsp; }</p><p>&nbsp; }<br />&nbsp; RGB5PRESET1SONDURUM = RGB5PRESET1DURUM;<br />}</p><p>void RGB5PRESET2 ()<br />{<br />&nbsp; RGB5PRESET2DURUM = RemoteXY.RGB5PRESET2;</p><p>&nbsp; if(RGB5PRESET2SONDURUM == LOW &amp;&amp; RGB5PRESET2DURUM == HIGH)&nbsp; &nbsp; &nbsp; &nbsp; // BUTONA BASILDIGINDA<br />&nbsp; &nbsp; RGB5PRESET2BASILMA = millis();<br />&nbsp; else if(RGB5PRESET2SONDURUM == HIGH &amp;&amp; RGB5PRESET2DURUM == LOW) { // BUTONDAN CEKILDIGINDE<br />&nbsp; &nbsp; RGB5PRESET2CEKME = millis();</p><p>&nbsp; &nbsp; long RGB5PRESET2BASILMASURESI = RGB5PRESET2CEKME - RGB5PRESET2BASILMA;</p><p>&nbsp; &nbsp; if( RGB5PRESET2BASILMASURESI &lt; KISABASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-5 PRESET-2 CAGIRILDI&quot;);<br />&nbsp; &nbsp; RemoteXY.RGB_5_r = EEPROM.read(102);<br />&nbsp; &nbsp; RemoteXY.RGB_5_g = EEPROM.read(103);<br />&nbsp; &nbsp; RemoteXY.RGB_5_b = EEPROM.read(104);<br />&nbsp; &nbsp; RGB5EEPROMYAZ ();<br />&nbsp; &nbsp; }</p><br /><p>&nbsp; &nbsp; if( RGB5PRESET2BASILMASURESI &gt; UZUNBASMA )<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; Serial.println(&quot;RGB-5 PRESET-2 KAYDEDILDI&quot;);&nbsp; <br />&nbsp; &nbsp; EEPROM.write(102,RemoteXY.RGB_5_r);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(103,RemoteXY.RGB_5_g);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; EEPROM.write(104,RemoteXY.RGB_5_b);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; RGB5EEPROMYAZ ();<br />&nbsp; &nbsp; RemoteXY.RGB5PRESET2LED_r = EEPROM.read(102);<br />&nbsp; &nbsp; RemoteXY.RGB5PRESET2LED_g = EEPROM.read(103);<br />&nbsp; &nbsp; RemoteXY.RGB5PRESET2LED_b = EEPROM.read(104);<br />&nbsp; }</p><p>&nbsp; }<br />&nbsp; RGB5PRESET2SONDURUM = RGB5PRESET2DURUM;<br />}</p><p>void EEPROMCLEAR ()<br />{<br />&nbsp; if (Serial.available()&gt;0)<br />&nbsp; { <br />&nbsp; String RSK = Serial.readStringUntil(&#039;\n&#039;);<br />&nbsp; &nbsp; if(RSK ==&quot;EEPROM RESET&quot;)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; Serial.print(&quot;EEPROM RESETLENIYOR&quot;);<br />&nbsp; &nbsp; &nbsp; for (int i = 0; i &lt; 512; i++) {<br />&nbsp; &nbsp; &nbsp; EEPROM.write(i, 0);<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; &nbsp; delay(500);<br />&nbsp; &nbsp; &nbsp; Serial.print(&quot;EEPROM RESETLENDI&quot;);<br />&nbsp; &nbsp; &nbsp; ESP.restart();<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; if(RSK ==&quot;FACTORYRESET&quot;)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; Serial.print(&quot;FABRIKA AYARLARI BASLADI&quot;);<br />&nbsp; &nbsp; &nbsp; for (int i = 0; i &lt; 512; i++) {<br />&nbsp; &nbsp; &nbsp; EEPROM.write(i, 0);<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; &nbsp; EEPROM.put(105,&quot;RGB1&quot;);<br />&nbsp; &nbsp; &nbsp; EEPROM.put(110,&quot;RGB2&quot;);<br />&nbsp; &nbsp; &nbsp; EEPROM.put(115,&quot;RGB3&quot;);<br />&nbsp; &nbsp; &nbsp; EEPROM.put(120,&quot;RGB4&quot;);<br />&nbsp; &nbsp; &nbsp; EEPROM.put(125,&quot;RGB5&quot;);<br />&nbsp; &nbsp; &nbsp; EEPROM.put(130,&quot;KAYIT1&quot;);<br />&nbsp; &nbsp; &nbsp; EEPROM.put(136,&quot;KAYIT2&quot;);<br />&nbsp; &nbsp; &nbsp; EEPROM.put(142,&quot;KAYIT3&quot;);<br />&nbsp; &nbsp; &nbsp; EEPROM.put(148,&quot;KAYIT4&quot;);<br />&nbsp; &nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; &nbsp; delay(500);<br />&nbsp; &nbsp; &nbsp; Serial.print(&quot;FABRIKA AYARLARINA DONDU&quot;);<br />&nbsp; &nbsp; &nbsp; ESP.restart();<br />&nbsp; &nbsp; }<br />&nbsp; }<br />&nbsp; <br />}</p><p>void PRESETNAMESAVED ()<br />{<br />&nbsp; if (RemoteXY.PRESETNAMESAVE!=0)<br />&nbsp; {<br />&nbsp; &nbsp; EEPROM.put(130,RemoteXY.PRESET1NAMESAVE);<br />&nbsp; &nbsp; EEPROM.put(136,RemoteXY.PRESET2NAMESAVE);<br />&nbsp; &nbsp; EEPROM.put(142,RemoteXY.PRESET3NAMESAVE);<br />&nbsp; &nbsp; EEPROM.put(148,RemoteXY.PRESET4NAMESAVE);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; ESP.restart();<br />&nbsp; }</p><p>}</p><p>void RGBNAMESAVED()<br />{<br />&nbsp; if (RemoteXY.RGBNAMESAVE!=0)<br />&nbsp; {<br />&nbsp; &nbsp; EEPROM.put(105,RemoteXY.RGB1NAMESAVE);<br />&nbsp; &nbsp; EEPROM.put(110,RemoteXY.RGB2NAMESAVE);<br />&nbsp; &nbsp; EEPROM.put(115,RemoteXY.RGB3NAMESAVE);<br />&nbsp; &nbsp; EEPROM.put(120,RemoteXY.RGB4NAMESAVE);<br />&nbsp; &nbsp; EEPROM.put(125,RemoteXY.RGB5NAMESAVE);<br />&nbsp; &nbsp; EEPROM.commit();<br />&nbsp; &nbsp; ESP.restart();<br />&nbsp; }</p><p>}</p><p>Iphone 11 is connect screen error registers screen ios version 16.0 and testing android still going on</p>]]></content>
			<author>
				<name><![CDATA[ogunekici]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2226</uri>
			</author>
			<updated>2022-10-27T14:10:15Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4830#p4830</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Esp32 Bluetooth problem]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4828#p4828" />
			<content type="html"><![CDATA[<p>Try to follow the documentation on the link <a target="_blank" href="https://remotexy.com/en/help/start/esp32-bluetooth/">https://remotexy.com/en/help/start/esp32-bluetooth/</a></p>]]></content>
			<author>
				<name><![CDATA[remotexy]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2</uri>
			</author>
			<updated>2022-10-27T05:22:42Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4828#p4828</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Esp32 Bluetooth problem]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4821#p4821" />
			<content type="html"><![CDATA[<p>please help me</p>]]></content>
			<author>
				<name><![CDATA[ogunekici]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2226</uri>
			</author>
			<updated>2022-10-26T13:41:02Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4821#p4821</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Esp32 Bluetooth problem]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4811#p4811" />
			<content type="html"><![CDATA[<p>Hi</p><p>ESP32 is on chip Bluetooth but editor files is 790 bytes and compile the send device later device connecting is not connected always registers screen reloading</p>]]></content>
			<author>
				<name><![CDATA[ogunekici]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=2226</uri>
			</author>
			<updated>2022-09-30T17:32:12Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4811#p4811</id>
		</entry>
</feed>
