<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[RemoteXY community — Непонятное ограничение remote xy]]></title>
		<link>https://forum.remotexy.com/viewtopic.php?id=400</link>
		<atom:link href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=400&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Непонятное ограничение remote xy.]]></description>
		<lastBuildDate>Sun, 25 Mar 2018 05:21:05 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Непонятное ограничение remote xy]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1432#p1432</link>
			<description><![CDATA[<p>Спасибо за ответ.Попытаюсь</p>]]></description>
			<author><![CDATA[null@example.com (efimoren)]]></author>
			<pubDate>Sun, 25 Mar 2018 05:21:05 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1432#p1432</guid>
		</item>
		<item>
			<title><![CDATA[Re: Непонятное ограничение remote xy]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1421#p1421</link>
			<description><![CDATA[<p>попробуй несколько раз в коде вызвать функцию&nbsp; RemoteXY_Handler&nbsp; ();&nbsp; &nbsp;ну или хотя бы раз в середине кода</p>]]></description>
			<author><![CDATA[null@example.com (geptilof)]]></author>
			<pubDate>Sat, 17 Mar 2018 20:38:19 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1421#p1421</guid>
		</item>
		<item>
			<title><![CDATA[Re: Непонятное ограничение remote xy]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1384#p1384</link>
			<description><![CDATA[<p>Здравствуйте.Прилагаю&nbsp; &nbsp;2&nbsp; скрипта&nbsp; ,один&nbsp; (pr8) не коннектится,второй&nbsp; (pr7) работает , версия remotxy платная.Спасибо.</p><p>первый-pr8:</p><p>#define REMOTEXY_MODE__HARDSERIAL<br />#include &lt;RemoteXY.h&gt;<br />#define REMOTEXY_SERIAL Serial<br />#define REMOTEXY_SERIAL_SPEED 9600<br />#pragma pack(push, 1)<br />uint8_t RemoteXY_CONF[] = {1, 264, 173, 1, 8, 13, 0, 130, 1, 86, 2, 7, 7, 17, 130, 1, 89, 9, 9, 8, 17, 1, 0, 47, 50, 8, 8, 2, 31, 88, 0, 130, 1, 2, 9, 9, 8, 17, 130, 1, 11, 9, 9, 8, 17, 130, 1, 8, 2, 7, 7, 17, 130, 1, 23, 9, 9, 8, 17, 130, 1, 31, 9, 9, 8, 17, 130, 1, 27, 2, 8, 7, 17, 130, 1, 43, 9, 8, 8, 17, 130, 1, 51, 9, 8, 8, 17, 130, 1, 47, 2, 8, 7, 17, 130, 1, 62, 9, 8, 8, 17, 130, 1, 70, 9, 8, 8, 17, 130, 1, 66, 2, 7, 7, 17, 130, 1, 81, 9, 8, 8, 17, 129, 0, 74, 58, 18, 3, 1, 69, 76, 84, 69, 76, 46, 76, 46, 84, 46, 68, 0, 129, 0, 46, 59, 10, 3, 17, 82, 69, 83, 69, 84, 0, 67, 5, 4, 12, 5, 5, 2, 26, 11, 67, 5, 13, 12, 5, 5, 2, 26, 11, 67, 5, 9, 3, 5, 5, 2, 35, 11, 67, 5, 24, 12, 5, 5, 2, 26, 11, 67, 5, 33, 12, 5, 5, 2, 26, 11, 67, 5, 28, 3, 5, 5, 2, 35, 11, 67, 5, 44, 12, 5, 5, 2, 26, 11, 67, 5, 52, 12, 5, 5, 2, 26, 11, 67, 5, 49, 3, 5, 5, 2, 35, 11, 67, 5, 63, 12, 5, 5, 2, 26, 11, 67, 5, 72, 12, 5, 5, 2, 26, 11, 67, 5, 67, 3, 5, 5, 2, 35, 11, 67, 5, 83, 12, 5, 5, 2, 26, 11, 67, 5, 91, 12, 5, 5, 2, 26, 11, 67, 5, 87, 3, 5, 5, 2, 35, 11, 130, 1, 1, 32, 9, 8, 17, 130, 1, 10, 32, 9, 8, 17, 130, 1, 7, 25, 7, 7, 17, 130, 1, 42, 32, 9, 8, 17, 130, 1, 51, 32, 9, 8, 17, 130, 1, 47, 25, 8, 7, 17, 130, 1, 81, 31, 8, 8, 17, 130, 1, 89, 31, 8, 8, 17, 130, 1, 85, 24, 8, 7, 17, 67, 5, 3, 35, 5, 5, 2, 26, 11, 67, 5, 12, 35, 5, 5, 2, 26, 11, 67, 5, 8, 26, 5, 5, 2, 35, 11, 67, 5, 43, 35, 5, 5, 2, 26, 11, 67, 5, 53, 35, 5, 5, 2, 26, 11, 67, 5, 48, 26, 5, 5, 2, 35, 11, 67, 5, 82, 34, 5, 5, 2, 26, 11, 67, 5, 90, 34, 5, 5, 2, 26, 11, 67, 5, 87, 25, 5, 5, 2, 35, 11};<br />struct {<br />unsigned char button_1;<br />char text_1[11];<br />char text_2[11];<br />char text_3[11];<br />char text_4[11];<br />char text_5[11];<br />char text_6[11];<br />char text_7[11];<br />char text_8[11];<br />char text_9[11];<br />char text_10[11];<br />char text_11[11];<br />char text_12[11];<br />char text_13[11];<br />char text_14[11];<br />char text_15[11];<br />char text_16[11];<br />char text_17[11];<br />char text_18[11];<br />char text_19[11];<br />char text_20[11];<br />char text_21[11];<br />char text_22[11];<br />char text_23[11];<br />char text_24[11];<br /> unsigned char connect_flag;<br />} RemoteXY;<br />#pragma pack(pop) <br />int _gtv1;<br />int _gtv2;<br />int _gtv3;<br />bool _gtv4;<br />int _gtv5;<br />int _gtv6;<br />int _gtv7;<br />int _gtv8;<br />int _gtv10;<br />int _gtv11;<br />int _gtv12;<br />int _gtv13;<br />int _gtv14;<br />int _gtv15;<br />int _gtv16;<br />int _gtv17;<br />int _gtv18;<br />int _gtv19;<br />int _gtv20;<br />int _gtv21;<br />int _gtv22;<br />int _gtv23;<br />int _gtv24;<br />int _gtv25;<br />int _gtv26;<br />bool _bounseInputD11S = 0;<br />bool _bounseInputD11O = 0;<br />unsigned long _bounseInputD11P = 0UL;<br />bool _count9I = 0;<br />int _count9P = 0;<br />bool _gen1I = 0;<br />bool _gen1O = 0;<br />unsigned long _gen1P = 0UL;<br />bool _bounseInputD3S = 0;<br />bool _bounseInputD3O = 0;<br />unsigned long _bounseInputD3P = 0UL;<br />bool _bounseInputD21S = 0;<br />bool _bounseInputD21O = 0;<br />unsigned long _bounseInputD21P = 0UL;<br />bool _bounseInputD22S = 0;<br />bool _bounseInputD22O = 0;<br />unsigned long _bounseInputD22P = 0UL;<br />bool _bounseInputD8S = 0;<br />bool _bounseInputD8O = 0;<br />unsigned long _bounseInputD8P = 0UL;<br />bool _bounseInputD27S = 0;<br />bool _bounseInputD27O = 0;<br />unsigned long _bounseInputD27P = 0UL;<br />bool _bounseInputD4S = 0;<br />bool _bounseInputD4O = 0;<br />unsigned long _bounseInputD4P = 0UL;<br />bool _count24I = 0;<br />int _count24P = 0;<br />bool _count13I = 0;<br />int _count13P = 0;<br />bool _bounseInputD17S = 0;<br />bool _bounseInputD17O = 0;<br />unsigned long _bounseInputD17P = 0UL;<br />bool _count21I = 0;<br />int _count21P = 0;<br />bool _count4I = 0;<br />int _count4P = 0;<br />bool _count23I = 0;<br />int _count23P = 0;<br />bool _bounseInputD7S = 0;<br />bool _bounseInputD7O = 0;<br />unsigned long _bounseInputD7P = 0UL;<br />bool _count12I = 0;<br />int _count12P = 0;<br />bool _count2I = 0;<br />int _count2P = 0;<br />bool _bounseInputD12S = 0;<br />bool _bounseInputD12O = 0;<br />unsigned long _bounseInputD12P = 0UL;<br />bool _bounseInputD23S = 0;<br />bool _bounseInputD23O = 0;<br />unsigned long _bounseInputD23P = 0UL;<br />bool _bounseInputD25S = 0;<br />bool _bounseInputD25O = 0;<br />unsigned long _bounseInputD25P = 0UL;<br />bool _count16I = 0;<br />int _count16P = 0;<br />bool _bounseInputD15S = 0;<br />bool _bounseInputD15O = 0;<br />unsigned long _bounseInputD15P = 0UL;<br />bool _count15I = 0;<br />int _count15P = 0;<br />bool _bounseInputD18S = 0;<br />bool _bounseInputD18O = 0;<br />unsigned long _bounseInputD18P = 0UL;<br />bool _count3I = 0;<br />int _count3P = 0;<br />bool _count6I = 0;<br />int _count6P = 0;<br />bool _count8I = 0;<br />int _count8P = 0;<br />bool _count14I = 0;<br />int _count14P = 0;<br />bool _count5I = 0;<br />int _count5P = 0;<br />bool _bounseInputD10S = 0;<br />bool _bounseInputD10O = 0;<br />unsigned long _bounseInputD10P = 0UL;<br />bool _count7I = 0;<br />int _count7P = 0;<br />bool _bounseInputD14S = 0;<br />bool _bounseInputD14O = 0;<br />unsigned long _bounseInputD14P = 0UL;<br />bool _count1I = 0;<br />int _count1P = 0;<br />bool _bounseInputD20S = 0;<br />bool _bounseInputD20O = 0;<br />unsigned long _bounseInputD20P = 0UL;<br />bool _bounseInputD24S = 0;<br />bool _bounseInputD24O = 0;<br />unsigned long _bounseInputD24P = 0UL;<br />bool _bounseInputD26S = 0;<br />bool _bounseInputD26O = 0;<br />unsigned long _bounseInputD26P = 0UL;<br />bool _bounseInputD9S = 0;<br />bool _bounseInputD9O = 0;<br />unsigned long _bounseInputD9P = 0UL;<br />bool _count18I = 0;<br />int _count18P = 0;<br />bool _count20I = 0;<br />int _count20P = 0;<br />bool _count22I = 0;<br />int _count22P = 0;<br />bool _count11I = 0;<br />int _count11P = 0;<br />bool _count17I = 0;<br />int _count17P = 0;<br />bool _bounseInputD19S = 0;<br />bool _bounseInputD19O = 0;<br />unsigned long _bounseInputD19P = 0UL;<br />bool _bounseInputD16S = 0;<br />bool _bounseInputD16O = 0;<br />unsigned long _bounseInputD16P = 0UL;<br />bool _count19I = 0;<br />int _count19P = 0;<br />bool _bounseInputD5S = 0;<br />bool _bounseInputD5O = 0;<br />unsigned long _bounseInputD5P = 0UL;<br />bool _bounseInputD6S = 0;<br />bool _bounseInputD6O = 0;<br />unsigned long _bounseInputD6P = 0UL;<br />bool _count10I = 0;<br />int _count10P = 0;<br />void setup()<br />{<br />RemoteXY_Init ();<br />pinMode(3, INPUT);<br />digitalWrite(3, HIGH);<br />pinMode(4, INPUT);<br />digitalWrite(4, HIGH);<br />pinMode(5, INPUT);<br />digitalWrite(5, HIGH);<br />pinMode(6, INPUT);<br />digitalWrite(6, HIGH);<br />pinMode(7, INPUT);<br />digitalWrite(7, HIGH);<br />pinMode(8, INPUT);<br />digitalWrite(8, HIGH);<br />pinMode(9, INPUT);<br />digitalWrite(9, HIGH);<br />pinMode(10, INPUT);<br />digitalWrite(10, HIGH);<br />pinMode(11, INPUT);<br />digitalWrite(11, HIGH);<br />pinMode(12, INPUT);<br />digitalWrite(12, HIGH);<br />pinMode(14, INPUT);<br />digitalWrite(14, HIGH);<br />pinMode(15, INPUT);<br />digitalWrite(15, HIGH);<br />pinMode(16, INPUT);<br />digitalWrite(16, HIGH);<br />pinMode(17, INPUT);<br />digitalWrite(17, HIGH);<br />pinMode(18, INPUT);<br />digitalWrite(18, HIGH);<br />pinMode(19, INPUT);<br />digitalWrite(19, HIGH);<br />pinMode(20, INPUT);<br />digitalWrite(20, HIGH);<br />pinMode(21, INPUT);<br />digitalWrite(21, HIGH);<br />pinMode(22, INPUT);<br />digitalWrite(22, HIGH);<br />pinMode(23, INPUT);<br />digitalWrite(23, HIGH);<br />pinMode(24, INPUT);<br />digitalWrite(24, HIGH);<br />pinMode(25, INPUT);<br />digitalWrite(25, HIGH);<br />pinMode(26, INPUT);<br />digitalWrite(26, HIGH);<br />pinMode(27, INPUT);<br />digitalWrite(27, HIGH);</p><p>_bounseInputD20O =&nbsp; digitalRead(20);<br />_bounseInputD8O =&nbsp; digitalRead(8);<br />_bounseInputD22O =&nbsp; digitalRead(22);<br />_bounseInputD24O =&nbsp; digitalRead(24);<br />_bounseInputD27O =&nbsp; digitalRead(27);<br />_bounseInputD3O =&nbsp; digitalRead(3);<br />_bounseInputD4O =&nbsp; digitalRead(4);<br />_bounseInputD12O =&nbsp; digitalRead(12);<br />_bounseInputD10O =&nbsp; digitalRead(10);<br />_bounseInputD25O =&nbsp; digitalRead(25);<br />_bounseInputD5O =&nbsp; digitalRead(5);<br />_bounseInputD19O =&nbsp; digitalRead(19);<br />_bounseInputD17O =&nbsp; digitalRead(17);<br />_bounseInputD7O =&nbsp; digitalRead(7);<br />_bounseInputD15O =&nbsp; digitalRead(15);<br />_bounseInputD21O =&nbsp; digitalRead(21);<br />_bounseInputD9O =&nbsp; digitalRead(9);<br />_bounseInputD23O =&nbsp; digitalRead(23);<br />_bounseInputD26O =&nbsp; digitalRead(26);<br />_bounseInputD14O =&nbsp; digitalRead(14);<br />_bounseInputD11O =&nbsp; digitalRead(11);<br />_bounseInputD18O =&nbsp; digitalRead(18);<br />_bounseInputD16O =&nbsp; digitalRead(16);<br />_bounseInputD6O =&nbsp; digitalRead(6);<br />}<br />void loop()<br />{RemoteXY_Handler&nbsp; ();</p><p>bool&nbsp; _bounceInputTmpD20 =&nbsp; (digitalRead (20));</p><p>if (_bounseInputD20S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD20P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD20O= _bounceInputTmpD20; _bounseInputD20S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD20 != _bounseInputD20O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD20S=1; _bounseInputD20P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD8 =&nbsp; (digitalRead (8));</p><p>if (_bounseInputD8S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD8P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD8O= _bounceInputTmpD8; _bounseInputD8S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD8 != _bounseInputD8O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD8S=1; _bounseInputD8P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD22 =&nbsp; (digitalRead (22));</p><p>if (_bounseInputD22S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD22P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD22O= _bounceInputTmpD22; _bounseInputD22S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD22 != _bounseInputD22O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD22S=1; _bounseInputD22P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD24 =&nbsp; (digitalRead (24));</p><p>if (_bounseInputD24S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD24P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD24O= _bounceInputTmpD24; _bounseInputD24S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD24 != _bounseInputD24O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD24S=1; _bounseInputD24P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD27 =&nbsp; (digitalRead (27));</p><p>if (_bounseInputD27S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD27P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD27O= _bounceInputTmpD27; _bounseInputD27S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD27 != _bounseInputD27O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD27S=1; _bounseInputD27P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD4 =&nbsp; (digitalRead (4));</p><p>if (_bounseInputD4S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD4P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD4O= _bounceInputTmpD4; _bounseInputD4S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD4 != _bounseInputD4O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD4S=1; _bounseInputD4P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD3 =&nbsp; (digitalRead (3));</p><p>if (_bounseInputD3S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD3P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD3O= _bounceInputTmpD3; _bounseInputD3S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD3 != _bounseInputD3O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD3S=1; _bounseInputD3P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD12 =&nbsp; (digitalRead (12));</p><p>if (_bounseInputD12S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD12P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD12O= _bounceInputTmpD12; _bounseInputD12S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD12 != _bounseInputD12O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD12S=1; _bounseInputD12P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD10 =&nbsp; (digitalRead (10));</p><p>if (_bounseInputD10S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD10P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD10O= _bounceInputTmpD10; _bounseInputD10S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD10 != _bounseInputD10O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD10S=1; _bounseInputD10P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD25 =&nbsp; (digitalRead (25));</p><p>if (_bounseInputD25S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD25P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD25O= _bounceInputTmpD25; _bounseInputD25S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD25 != _bounseInputD25O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD25S=1; _bounseInputD25P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD5 =&nbsp; (digitalRead (5));</p><p>if (_bounseInputD5S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD5P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD5O= _bounceInputTmpD5; _bounseInputD5S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD5 != _bounseInputD5O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD5S=1; _bounseInputD5P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD19 =&nbsp; (digitalRead (19));</p><p>if (_bounseInputD19S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD19P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD19O= _bounceInputTmpD19; _bounseInputD19S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD19 != _bounseInputD19O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD19S=1; _bounseInputD19P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD17 =&nbsp; (digitalRead (17));</p><p>if (_bounseInputD17S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD17P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD17O= _bounceInputTmpD17; _bounseInputD17S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD17 != _bounseInputD17O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD17S=1; _bounseInputD17P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD7 =&nbsp; (digitalRead (7));</p><p>if (_bounseInputD7S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD7P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD7O= _bounceInputTmpD7; _bounseInputD7S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD7 != _bounseInputD7O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD7S=1; _bounseInputD7P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD15 =&nbsp; (digitalRead (15));</p><p>if (_bounseInputD15S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD15P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD15O= _bounceInputTmpD15; _bounseInputD15S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD15 != _bounseInputD15O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD15S=1; _bounseInputD15P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD21 =&nbsp; (digitalRead (21));</p><p>if (_bounseInputD21S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD21P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD21O= _bounceInputTmpD21; _bounseInputD21S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD21 != _bounseInputD21O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD21S=1; _bounseInputD21P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD9 =&nbsp; (digitalRead (9));</p><p>if (_bounseInputD9S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD9P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD9O= _bounceInputTmpD9; _bounseInputD9S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD9 != _bounseInputD9O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD9S=1; _bounseInputD9P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD23 =&nbsp; (digitalRead (23));</p><p>if (_bounseInputD23S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD23P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD23O= _bounceInputTmpD23; _bounseInputD23S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD23 != _bounseInputD23O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD23S=1; _bounseInputD23P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD26 =&nbsp; (digitalRead (26));</p><p>if (_bounseInputD26S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD26P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD26O= _bounceInputTmpD26; _bounseInputD26S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD26 != _bounseInputD26O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD26S=1; _bounseInputD26P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD14 =&nbsp; (digitalRead (14));</p><p>if (_bounseInputD14S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD14P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD14O= _bounceInputTmpD14; _bounseInputD14S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD14 != _bounseInputD14O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD14S=1; _bounseInputD14P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD11 =&nbsp; (digitalRead (11));</p><p>if (_bounseInputD11S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD11P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD11O= _bounceInputTmpD11; _bounseInputD11S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD11 != _bounseInputD11O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD11S=1; _bounseInputD11P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD18 =&nbsp; (digitalRead (18));</p><p>if (_bounseInputD18S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD18P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD18O= _bounceInputTmpD18; _bounseInputD18S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD18 != _bounseInputD18O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD18S=1; _bounseInputD18P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD16 =&nbsp; (digitalRead (16));</p><p>if (_bounseInputD16S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD16P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD16O= _bounceInputTmpD16; _bounseInputD16S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD16 != _bounseInputD16O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD16S=1; _bounseInputD16P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD6 =&nbsp; (digitalRead (6));</p><p>if (_bounseInputD6S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD6P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD6O= _bounceInputTmpD6; _bounseInputD6S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD6 != _bounseInputD6O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD6S=1; _bounseInputD6P = millis();} <br />&nbsp; &nbsp; &nbsp; } </p><br /><br /><br /><p>//Плата:1</p><p>if (!(_bounseInputD27O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count24I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count24P = _count24P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count24I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count24I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count24P = 0;<br />_gtv26 = _count24P;</p><p>if (!(_bounseInputD26O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count23I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count23P = _count23P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count23I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count23I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count23P = 0;<br />_gtv25 = _count23P;</p><p>if (!(_bounseInputD25O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count22I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count22P = _count22P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count22I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count22I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count22P = 0;<br />_gtv24 = _count22P;</p><p>if (!(_bounseInputD24O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count21I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count21P = _count21P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count21I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count21I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count21P = 0;<br />_gtv23 = _count21P;</p><p>if (!(_bounseInputD23O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count20I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count20P = _count20P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count20I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count20I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count20P = 0;<br />_gtv22 = _count20P;</p><p>if (!(_bounseInputD22O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count19I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count19P = _count19P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count19I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count19I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count19P = 0;<br />_gtv21 = _count19P;</p><p>if (!(_bounseInputD21O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count18I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count18P = _count18P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count18I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count18I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count18P = 0;<br />_gtv20 = _count18P;</p><p>if (!(_bounseInputD20O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count17I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count17P = _count17P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count17I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count17I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count17P = 0;<br />_gtv19 = _count17P;</p><p>if (!(_bounseInputD19O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count16I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count16P = _count16P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count16I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count16I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count16P = 0;<br />_gtv18 = _count16P;</p><p>if (!(_bounseInputD18O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count15I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count15P = _count15P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count15I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count15I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count15P = 0;<br />_gtv17 = _count15P;</p><p>if (!(_bounseInputD17O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count14I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count14P = _count14P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count14I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count14I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count14P = 0;<br />_gtv16 = _count14P;</p><p>if (!(_bounseInputD16O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count13I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count13P = _count13P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count13I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count13I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count13P = 0;<br />_gtv15 = _count13P;</p><p>if (!(_bounseInputD15O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count12I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count12P = _count12P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count12I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count12I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count12P = 0;<br />_gtv14 = _count12P;</p><p>if (!(_bounseInputD14O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count11I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count11P = _count11P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count11I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count11I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count11P = 0;<br />_gtv13 = _count11P;</p><p>if (!(_bounseInputD12O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count10I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count10P = _count10P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count10I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count10I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count10P = 0;<br />_gtv12 = _count10P;</p><p>if (!(_bounseInputD11O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count9I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count9P = _count9P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count9I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count9I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count9P = 0;<br />_gtv11 = _count9P;</p><p>if (!(_bounseInputD10O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count8I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count8P = _count8P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count8I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count8I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count8P = 0;<br />_gtv10 = _count8P;</p><p>if (!(_bounseInputD9O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count7I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count7P = _count7P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count7I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count7I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count7P = 0;<br />_gtv8 = _count7P;</p><p>if (!(_bounseInputD8O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count6I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count6P = _count6P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count6I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count6I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count6P = 0;<br />_gtv7 = _count6P;</p><p>if (!(_bounseInputD7O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count5I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count5P = _count5P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count5I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count5I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count5P = 0;<br />_gtv6 = _count5P;</p><p>if (!(_bounseInputD6O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count4I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count4P = _count4P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count4I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count4I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count4P = 0;<br />_gtv5 = _count4P;</p><p>if (!(_bounseInputD5O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count3I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count3P = _count3P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count3I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count3I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count3P = 0;<br />_gtv3 = _count3P;</p><p>if (!(_bounseInputD4O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count2I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count2P = _count2P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count2I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count2I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count2P = 0;<br />_gtv2 = _count2P;</p><p>if (!(_bounseInputD3O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count1I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count1P = _count1P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count1I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count1I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count1P = 0;<br />_gtv1 = _count1P;<br />((String(_gtv1, DEC))).toCharArray((RemoteXY.text_1), 11);<br />((String(_gtv2, DEC))).toCharArray((RemoteXY.text_2), 11);<br />((String(_gtv3, DEC))).toCharArray((RemoteXY.text_3), 11);<br />((String(_gtv5, DEC))).toCharArray((RemoteXY.text_4), 11);<br />((String(_gtv6, DEC))).toCharArray((RemoteXY.text_5), 11);<br />((String(_gtv7, DEC))).toCharArray((RemoteXY.text_6), 11);<br />((String(_gtv8, DEC))).toCharArray((RemoteXY.text_7), 11);<br />((String(_gtv10, DEC))).toCharArray((RemoteXY.text_8), 11);<br />((String(_gtv11, DEC))).toCharArray((RemoteXY.text_9), 11);<br />((String(_gtv12, DEC))).toCharArray((RemoteXY.text_10), 11);<br />((String(_gtv13, DEC))).toCharArray((RemoteXY.text_11), 11);<br />((String(_gtv14, DEC))).toCharArray((RemoteXY.text_12), 11);<br />((String(_gtv15, DEC))).toCharArray((RemoteXY.text_13), 11);<br />((String(_gtv16, DEC))).toCharArray((RemoteXY.text_14), 11);<br />((String(_gtv17, DEC))).toCharArray((RemoteXY.text_15), 11);<br />((String(_gtv18, DEC))).toCharArray((RemoteXY.text_16), 11);<br />((String(_gtv19, DEC))).toCharArray((RemoteXY.text_17), 11);<br />((String(_gtv20, DEC))).toCharArray((RemoteXY.text_18), 11);<br />((String(_gtv21, DEC))).toCharArray((RemoteXY.text_19), 11);<br />((String(_gtv22, DEC))).toCharArray((RemoteXY.text_20), 11);<br />((String(_gtv23, DEC))).toCharArray((RemoteXY.text_21), 11);<br />((String(_gtv24, DEC))).toCharArray((RemoteXY.text_22), 11);<br />((String(_gtv25, DEC))).toCharArray((RemoteXY.text_23), 11);<br />((String(_gtv26, DEC))).toCharArray((RemoteXY.text_24), 11);<br />if (1) {if (! _gen1I){_gen1I = 1; _gen1O = 1; _gen1P = millis();}} else { _gen1I = 0 ; _gen1O= 0; } if (_gen1I &amp;&amp;&nbsp; _gen1O)&nbsp; &nbsp;_gen1O = !( _isTimer( _gen1P , 1000 ));<br />_gtv4 = ( ((RemoteXY.button_1)) || (_gen1O) );</p><p>}<br />bool _isTimer(unsigned long startTime, unsigned long period )<br />&nbsp; {<br />&nbsp; unsigned long currentTime;<br />currentTime = millis();<br />if (currentTime&gt;= startTime) {return (currentTime&gt;=(startTime + period));} else {return (currentTime &gt;=(4294967295-startTime+period));}<br />&nbsp; }<br />---------------------------------------------------------------------------------------------<br />второй pr7:</p><p>#define REMOTEXY_MODE__HARDSERIAL<br />#include &lt;RemoteXY.h&gt;<br />#define REMOTEXY_SERIAL Serial<br />#define REMOTEXY_SERIAL_SPEED 9600<br />#pragma pack(push, 1)<br />uint8_t RemoteXY_CONF[] = {1, 231, 200, 1, 8, 13, 4, 130, 1, 86, 2, 7, 7, 1, 17, 130, 1, 89, 9, 9, 8, 1, 17, 1, 0, 44, 47, 11, 11, 0, 2, 31, 88, 0, 130, 1, 2, 9, 9, 8, 1, 17, 130, 1, 11, 9, 9, 8, 1, 17, 130, 1, 8, 2, 7, 7, 1, 17, 130, 1, 26, 9, 9, 8, 1, 17, 130, 1, 35, 9, 9, 8, 1, 17, 130, 1, 31, 2, 8, 7, 1, 17, 130, 1, 42, 33, 8, 8, 1, 17, 130, 1, 50, 33, 8, 8, 1, 17, 130, 1, 46, 26, 8, 7, 1, 17, 130, 1, 58, 9, 8, 8, 1, 17, 130, 1, 66, 9, 8, 8, 1, 17, 130, 1, 62, 2, 7, 7, 1, 17, 130, 1, 81, 9, 8, 8, 1, 17, 129, 0, 74, 58, 18, 3, 0, 1, 69, 76, 84, 69, 76, 46, 76, 46, 84, 46, 68, 0, 129, 0, 44, 59, 10, 3, 0, 17, 82, 69, 83, 69, 84, 0, 67, 5, 4, 12, 5, 5, 1, 2, 26, 11, 67, 5, 13, 12, 5, 5, 1, 2, 26, 11, 67, 5, 9, 3, 5, 5, 1, 2, 35, 11, 67, 5, 28, 12, 5, 5, 1, 2, 26, 11, 67, 5, 37, 12, 5, 5, 1, 2, 26, 11, 67, 5, 32, 3, 5, 5, 1, 2, 35, 11, 67, 5, 43, 36, 5, 5, 1, 2, 26, 11, 67, 5, 51, 36, 5, 5, 1, 2, 26, 11, 67, 5, 48, 27, 5, 5, 1, 2, 35, 11, 67, 5, 59, 12, 5, 5, 1, 2, 26, 11, 67, 5, 68, 12, 5, 5, 1, 2, 26, 11, 67, 5, 63, 3, 5, 5, 1, 2, 35, 11, 67, 5, 83, 12, 5, 5, 1, 2, 26, 11, 67, 5, 91, 12, 5, 5, 1, 2, 26, 11, 67, 5, 87, 3, 5, 5, 1, 2, 35, 11, 130, 1, 7, 32, 9, 8, 1, 17, 130, 1, 16, 32, 9, 8, 1, 17, 130, 1, 13, 25, 7, 7, 1, 17, 130, 1, 76, 32, 9, 8, 1, 17, 130, 1, 84, 32, 9, 8, 1, 17, 130, 1, 80, 25, 8, 7, 1, 17, 67, 5, 9, 35, 5, 5, 1, 2, 26, 11, 67, 5, 18, 35, 5, 5, 1, 2, 26, 11, 67, 5, 14, 26, 5, 5, 1, 2, 35, 11, 67, 5, 77, 35, 5, 5, 1, 2, 26, 11, 67, 5, 86, 35, 5, 5, 1, 2, 26, 11, 67, 5, 81, 26, 5, 5, 1, 2, 35, 11, 131, 1, 1, 47, 14, 5, 1, 2, 31, 80, 97, 103, 101, 49, 0, 131, 0, 1, 56, 14, 5, 2, 2, 31, 80, 97, 103, 101, 50, 0};<br />struct {<br />unsigned char button_1;<br />char text_1[11];<br />char text_2[11];<br />char text_3[11];<br />char text_4[11];<br />char text_5[11];<br />char text_6[11];<br />char text_7[11];<br />char text_8[11];<br />char text_9[11];<br />char text_10[11];<br />char text_11[11];<br />char text_12[11];<br />char text_13[11];<br />char text_14[11];<br />char text_15[11];<br />char text_16[11];<br />char text_17[11];<br />char text_18[11];<br />char text_19[11];<br />char text_20[11];<br />char text_21[11];<br /> unsigned char connect_flag;<br />} RemoteXY;<br />#pragma pack(pop) <br />int _gtv1 = 0;<br />int _gtv2 = 0;<br />int _gtv3 = 0;<br />bool _gtv4;<br />int _gtv5 = 0;<br />int _gtv6 = 0;<br />int _gtv7 = 0;<br />int _gtv8 = 0;<br />int _gtv10 = 0;<br />int _gtv11 = 0;<br />int _gtv12 = 0;<br />int _gtv13 = 0;<br />int _gtv14 = 0;<br />int _gtv15 = 0;<br />int _gtv16 = 0;<br />int _gtv17 = 0;<br />int _gtv18 = 0;<br />int _gtv19 = 0;<br />int _gtv20 = 0;<br />int _gtv21 = 0;<br />int _gtv22 = 0;<br />int _gtv23 = 0;<br />bool _bounseInputD10S = 0;<br />bool _bounseInputD10O = 0;<br />unsigned long _bounseInputD10P = 0UL;<br />bool _bounseInputD5S = 0;<br />bool _bounseInputD5O = 0;<br />unsigned long _bounseInputD5P = 0UL;<br />bool _bounseInputD18S = 0;<br />bool _bounseInputD18O = 0;<br />unsigned long _bounseInputD18P = 0UL;<br />bool _count10I = 0;<br />int _count10P = 0;<br />bool _count1I = 0;<br />int _count1P = 0;<br />bool _bounseInputD12S = 0;<br />bool _bounseInputD12O = 0;<br />unsigned long _bounseInputD12P = 0UL;<br />bool _bounseInputD20S = 0;<br />bool _bounseInputD20O = 0;<br />unsigned long _bounseInputD20P = 0UL;<br />bool _gen1I = 0;<br />bool _gen1O = 0;<br />unsigned long _gen1P = 0UL;<br />bool _count17I = 0;<br />int _count17P = 0;<br />bool _bounseInputD7S = 0;<br />bool _bounseInputD7O = 0;<br />unsigned long _bounseInputD7P = 0UL;<br />bool _bounseInputD4S = 0;<br />bool _bounseInputD4O = 0;<br />unsigned long _bounseInputD4P = 0UL;<br />bool _count19I = 0;<br />int _count19P = 0;<br />bool _count7I = 0;<br />int _count7P = 0;<br />bool _bounseInputD22S = 0;<br />bool _bounseInputD22O = 0;<br />unsigned long _bounseInputD22P = 0UL;<br />bool _count14I = 0;<br />int _count14P = 0;<br />bool _bounseInputD15S = 0;<br />bool _bounseInputD15O = 0;<br />unsigned long _bounseInputD15P = 0UL;<br />bool _count18I = 0;<br />int _count18P = 0;<br />bool _bounseInputD9S = 0;<br />bool _bounseInputD9O = 0;<br />unsigned long _bounseInputD9P = 0UL;<br />bool _count3I = 0;<br />int _count3P = 0;<br />bool _count20I = 0;<br />int _count20P = 0;<br />bool _bounseInputD17S = 0;<br />bool _bounseInputD17O = 0;<br />unsigned long _bounseInputD17P = 0UL;<br />bool _count11I = 0;<br />int _count11P = 0;<br />bool _count4I = 0;<br />int _count4P = 0;<br />bool _bounseInputD11S = 0;<br />bool _bounseInputD11O = 0;<br />unsigned long _bounseInputD11P = 0UL;<br />bool _bounseInputD24S = 0;<br />bool _bounseInputD24O = 0;<br />unsigned long _bounseInputD24P = 0UL;<br />bool _count15I = 0;<br />int _count15P = 0;<br />bool _bounseInputD6S = 0;<br />bool _bounseInputD6O = 0;<br />unsigned long _bounseInputD6P = 0UL;<br />bool _count2I = 0;<br />int _count2P = 0;<br />bool _count8I = 0;<br />int _count8P = 0;<br />bool _bounseInputD19S = 0;<br />bool _bounseInputD19O = 0;<br />unsigned long _bounseInputD19P = 0UL;<br />bool _count12I = 0;<br />int _count12P = 0;<br />bool _count5I = 0;<br />int _count5P = 0;<br />bool _bounseInputD3S = 0;<br />bool _bounseInputD3O = 0;<br />unsigned long _bounseInputD3P = 0UL;<br />bool _bounseInputD14S = 0;<br />bool _bounseInputD14O = 0;<br />unsigned long _bounseInputD14P = 0UL;<br />bool _bounseInputD21S = 0;<br />bool _bounseInputD21O = 0;<br />unsigned long _bounseInputD21P = 0UL;<br />bool _bounseInputD8S = 0;<br />bool _bounseInputD8O = 0;<br />unsigned long _bounseInputD8P = 0UL;<br />bool _bounseInputD16S = 0;<br />bool _bounseInputD16O = 0;<br />unsigned long _bounseInputD16P = 0UL;<br />bool _count21I = 0;<br />int _count21P = 0;<br />bool _count9I = 0;<br />int _count9P = 0;<br />bool _bounseInputD23S = 0;<br />bool _bounseInputD23O = 0;<br />unsigned long _bounseInputD23P = 0UL;<br />bool _count13I = 0;<br />int _count13P = 0;<br />bool _count6I = 0;<br />int _count6P = 0;<br />bool _count16I = 0;<br />int _count16P = 0;<br />void setup()<br />{<br />RemoteXY_Init ();<br />pinMode(3, INPUT);<br />digitalWrite(3, HIGH);<br />pinMode(4, INPUT);<br />digitalWrite(4, HIGH);<br />pinMode(5, INPUT);<br />digitalWrite(5, HIGH);<br />pinMode(6, INPUT);<br />digitalWrite(6, HIGH);<br />pinMode(7, INPUT);<br />digitalWrite(7, HIGH);<br />pinMode(8, INPUT);<br />digitalWrite(8, HIGH);<br />pinMode(9, INPUT);<br />digitalWrite(9, HIGH);<br />pinMode(10, INPUT);<br />digitalWrite(10, HIGH);<br />pinMode(11, INPUT);<br />digitalWrite(11, HIGH);<br />pinMode(12, INPUT);<br />digitalWrite(12, HIGH);<br />pinMode(14, INPUT);<br />digitalWrite(14, HIGH);<br />pinMode(15, INPUT);<br />digitalWrite(15, HIGH);<br />pinMode(16, INPUT);<br />digitalWrite(16, HIGH);<br />pinMode(17, INPUT);<br />digitalWrite(17, HIGH);<br />pinMode(18, INPUT);<br />digitalWrite(18, HIGH);<br />pinMode(19, INPUT);<br />digitalWrite(19, HIGH);<br />pinMode(20, INPUT);<br />digitalWrite(20, HIGH);<br />pinMode(21, INPUT);<br />digitalWrite(21, HIGH);<br />pinMode(22, INPUT);<br />digitalWrite(22, HIGH);<br />pinMode(23, INPUT);<br />digitalWrite(23, HIGH);<br />pinMode(24, INPUT);<br />digitalWrite(24, HIGH);</p><p>_bounseInputD10O =&nbsp; digitalRead(10);<br />_bounseInputD22O =&nbsp; digitalRead(22);<br />_bounseInputD11O =&nbsp; digitalRead(11);<br />_bounseInputD17O =&nbsp; digitalRead(17);<br />_bounseInputD6O =&nbsp; digitalRead(6);<br />_bounseInputD9O =&nbsp; digitalRead(9);<br />_bounseInputD15O =&nbsp; digitalRead(15);<br />_bounseInputD24O =&nbsp; digitalRead(24);<br />_bounseInputD3O =&nbsp; digitalRead(3);<br />_bounseInputD16O =&nbsp; digitalRead(16);<br />_bounseInputD21O =&nbsp; digitalRead(21);<br />_bounseInputD14O =&nbsp; digitalRead(14);<br />_bounseInputD19O =&nbsp; digitalRead(19);<br />_bounseInputD8O =&nbsp; digitalRead(8);<br />_bounseInputD23O =&nbsp; digitalRead(23);<br />_bounseInputD5O =&nbsp; digitalRead(5);<br />_bounseInputD20O =&nbsp; digitalRead(20);<br />_bounseInputD12O =&nbsp; digitalRead(12);<br />_bounseInputD18O =&nbsp; digitalRead(18);<br />_bounseInputD7O =&nbsp; digitalRead(7);<br />_bounseInputD4O =&nbsp; digitalRead(4);<br />}<br />void loop()<br />{RemoteXY_Handler&nbsp; ();</p><p>bool&nbsp; _bounceInputTmpD21 =&nbsp; (digitalRead (21));</p><p>if (_bounseInputD21S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD21P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD21O= _bounceInputTmpD21; _bounseInputD21S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD21 != _bounseInputD21O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD21S=1; _bounseInputD21P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD9 =&nbsp; (digitalRead (9));</p><p>if (_bounseInputD9S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD9P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD9O= _bounceInputTmpD9; _bounseInputD9S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD9 != _bounseInputD9O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD9S=1; _bounseInputD9P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD23 =&nbsp; (digitalRead (23));</p><p>if (_bounseInputD23S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD23P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD23O= _bounceInputTmpD23; _bounseInputD23S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD23 != _bounseInputD23O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD23S=1; _bounseInputD23P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD14 =&nbsp; (digitalRead (14));</p><p>if (_bounseInputD14S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD14P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD14O= _bounceInputTmpD14; _bounseInputD14S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD14 != _bounseInputD14O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD14S=1; _bounseInputD14P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD11 =&nbsp; (digitalRead (11));</p><p>if (_bounseInputD11S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD11P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD11O= _bounceInputTmpD11; _bounseInputD11S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD11 != _bounseInputD11O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD11S=1; _bounseInputD11P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD18 =&nbsp; (digitalRead (18));</p><p>if (_bounseInputD18S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD18P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD18O= _bounceInputTmpD18; _bounseInputD18S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD18 != _bounseInputD18O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD18S=1; _bounseInputD18P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD8 =&nbsp; (digitalRead (8));</p><p>if (_bounseInputD8S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD8P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD8O= _bounceInputTmpD8; _bounseInputD8S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD8 != _bounseInputD8O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD8S=1; _bounseInputD8P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD6 =&nbsp; (digitalRead (6));</p><p>if (_bounseInputD6S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD6P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD6O= _bounceInputTmpD6; _bounseInputD6S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD6 != _bounseInputD6O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD6S=1; _bounseInputD6P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD16 =&nbsp; (digitalRead (16));</p><p>if (_bounseInputD16S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD16P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD16O= _bounceInputTmpD16; _bounseInputD16S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD16 != _bounseInputD16O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD16S=1; _bounseInputD16P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD4 =&nbsp; (digitalRead (4));</p><p>if (_bounseInputD4S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD4P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD4O= _bounceInputTmpD4; _bounseInputD4S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD4 != _bounseInputD4O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD4S=1; _bounseInputD4P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD20 =&nbsp; (digitalRead (20));</p><p>if (_bounseInputD20S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD20P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD20O= _bounceInputTmpD20; _bounseInputD20S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD20 != _bounseInputD20O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD20S=1; _bounseInputD20P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD10 =&nbsp; (digitalRead (10));</p><p>if (_bounseInputD10S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD10P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD10O= _bounceInputTmpD10; _bounseInputD10S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD10 != _bounseInputD10O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD10S=1; _bounseInputD10P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD22 =&nbsp; (digitalRead (22));</p><p>if (_bounseInputD22S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD22P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD22O= _bounceInputTmpD22; _bounseInputD22S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD22 != _bounseInputD22O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD22S=1; _bounseInputD22P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD24 =&nbsp; (digitalRead (24));</p><p>if (_bounseInputD24S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD24P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD24O= _bounceInputTmpD24; _bounseInputD24S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD24 != _bounseInputD24O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD24S=1; _bounseInputD24P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD3 =&nbsp; (digitalRead (3));</p><p>if (_bounseInputD3S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD3P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD3O= _bounceInputTmpD3; _bounseInputD3S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD3 != _bounseInputD3O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD3S=1; _bounseInputD3P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD15 =&nbsp; (digitalRead (15));</p><p>if (_bounseInputD15S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD15P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD15O= _bounceInputTmpD15; _bounseInputD15S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD15 != _bounseInputD15O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD15S=1; _bounseInputD15P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD12 =&nbsp; (digitalRead (12));</p><p>if (_bounseInputD12S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD12P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD12O= _bounceInputTmpD12; _bounseInputD12S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD12 != _bounseInputD12O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD12S=1; _bounseInputD12P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD5 =&nbsp; (digitalRead (5));</p><p>if (_bounseInputD5S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD5P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD5O= _bounceInputTmpD5; _bounseInputD5S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD5 != _bounseInputD5O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD5S=1; _bounseInputD5P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD19 =&nbsp; (digitalRead (19));</p><p>if (_bounseInputD19S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD19P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD19O= _bounceInputTmpD19; _bounseInputD19S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD19 != _bounseInputD19O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD19S=1; _bounseInputD19P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD17 =&nbsp; (digitalRead (17));</p><p>if (_bounseInputD17S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD17P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD17O= _bounceInputTmpD17; _bounseInputD17S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD17 != _bounseInputD17O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD17S=1; _bounseInputD17P = millis();} <br />&nbsp; &nbsp; &nbsp; } <br />bool&nbsp; _bounceInputTmpD7 =&nbsp; (digitalRead (7));</p><p>if (_bounseInputD7S) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (millis() &gt;= (_bounseInputD7P + 40)) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD7O= _bounceInputTmpD7; _bounseInputD7S=0;}<br />&nbsp; &nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp;if (_bounceInputTmpD7 != _bounseInputD7O )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{_bounseInputD7S=1; _bounseInputD7P = millis();} <br />&nbsp; &nbsp; &nbsp; } </p><br /><br /><br /><p>//Плата:1</p><p>if (!(_bounseInputD24O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count21I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count21P = _count21P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count21I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count21I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count21P = 0;<br />_gtv23 = _count21P;</p><p>if (!(_bounseInputD23O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count20I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count20P = _count20P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count20I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count20I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count20P = 0;<br />_gtv22 = _count20P;</p><p>if (!(_bounseInputD22O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count19I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count19P = _count19P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count19I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count19I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count19P = 0;<br />_gtv21 = _count19P;</p><p>if (!(_bounseInputD21O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count18I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count18P = _count18P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count18I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count18I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count18P = 0;<br />_gtv20 = _count18P;</p><p>if (!(_bounseInputD20O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count17I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count17P = _count17P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count17I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count17I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count17P = 0;<br />_gtv19 = _count17P;</p><p>if (!(_bounseInputD19O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count16I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count16P = _count16P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count16I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count16I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count16P = 0;<br />_gtv18 = _count16P;</p><p>if (!(_bounseInputD18O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count15I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count15P = _count15P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count15I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count15I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count15P = 0;<br />_gtv17 = _count15P;</p><p>if (!(_bounseInputD17O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count14I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count14P = _count14P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count14I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count14I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count14P = 0;<br />_gtv16 = _count14P;</p><p>if (!(_bounseInputD16O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count13I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count13P = _count13P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count13I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count13I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count13P = 0;<br />_gtv15 = _count13P;</p><p>if (!(_bounseInputD15O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count12I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count12P = _count12P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count12I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count12I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count12P = 0;<br />_gtv14 = _count12P;</p><p>if (!(_bounseInputD14O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count11I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count11P = _count11P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count11I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count11I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count11P = 0;<br />_gtv13 = _count11P;</p><p>if (!(_bounseInputD12O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count10I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count10P = _count10P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count10I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count10I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count10P = 0;<br />_gtv12 = _count10P;</p><p>if (!(_bounseInputD11O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count9I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count9P = _count9P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count9I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count9I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count9P = 0;<br />_gtv11 = _count9P;</p><p>if (!(_bounseInputD10O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count8I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count8P = _count8P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count8I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count8I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count8P = 0;<br />_gtv10 = _count8P;</p><p>if (!(_bounseInputD9O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count7I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count7P = _count7P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count7I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count7I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count7P = 0;<br />_gtv8 = _count7P;</p><p>if (!(_bounseInputD8O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count6I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count6P = _count6P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count6I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count6I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count6P = 0;<br />_gtv7 = _count6P;</p><p>if (!(_bounseInputD7O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count5I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count5P = _count5P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count5I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count5I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count5P = 0;<br />_gtv6 = _count5P;</p><p>if (!(_bounseInputD6O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count4I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count4P = _count4P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count4I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count4I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count4P = 0;<br />_gtv5 = _count4P;</p><p>if (!(_bounseInputD5O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count3I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count3P = _count3P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count3I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count3I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count3P = 0;<br />_gtv3 = _count3P;</p><p>if (!(_bounseInputD4O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count2I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count2P = _count2P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count2I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count2I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count2P = 0;<br />_gtv2 = _count2P;</p><p>if (!(_bounseInputD3O)) <br />&nbsp; &nbsp;{ <br />&nbsp; &nbsp;if (! _count1I)&nbsp; <br />&nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp;_count1P = _count1P+1;<br />&nbsp; &nbsp; &nbsp; &nbsp;_count1I = 1;<br />&nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp;}<br />else<br />&nbsp; &nbsp;{<br />&nbsp; &nbsp;_count1I=0;<br />&nbsp; &nbsp;}<br />if (_gtv4) _count1P = 0;<br />_gtv1 = _count1P;<br />((String(_gtv1, DEC))).toCharArray((RemoteXY.text_1), 11);<br />((String(_gtv2, DEC))).toCharArray((RemoteXY.text_2), 11);<br />((String(_gtv3, DEC))).toCharArray((RemoteXY.text_3), 11);<br />((String(_gtv5, DEC))).toCharArray((RemoteXY.text_4), 11);<br />((String(_gtv6, DEC))).toCharArray((RemoteXY.text_5), 11);<br />((String(_gtv7, DEC))).toCharArray((RemoteXY.text_6), 11);<br />((String(_gtv8, DEC))).toCharArray((RemoteXY.text_7), 11);<br />((String(_gtv10, DEC))).toCharArray((RemoteXY.text_8), 11);<br />((String(_gtv11, DEC))).toCharArray((RemoteXY.text_9), 11);<br />((String(_gtv12, DEC))).toCharArray((RemoteXY.text_10), 11);<br />((String(_gtv13, DEC))).toCharArray((RemoteXY.text_11), 11);<br />((String(_gtv14, DEC))).toCharArray((RemoteXY.text_12), 11);<br />((String(_gtv15, DEC))).toCharArray((RemoteXY.text_13), 11);<br />((String(_gtv16, DEC))).toCharArray((RemoteXY.text_14), 11);<br />((String(_gtv17, DEC))).toCharArray((RemoteXY.text_15), 11);<br />((String(_gtv18, DEC))).toCharArray((RemoteXY.text_16), 11);<br />((String(_gtv19, DEC))).toCharArray((RemoteXY.text_17), 11);<br />((String(_gtv20, DEC))).toCharArray((RemoteXY.text_18), 11);<br />((String(_gtv21, DEC))).toCharArray((RemoteXY.text_19), 11);<br />((String(_gtv22, DEC))).toCharArray((RemoteXY.text_20), 11);<br />((String(_gtv23, DEC))).toCharArray((RemoteXY.text_21), 11);<br />if (1) {if (! _gen1I){_gen1I = 1; _gen1O = 1; _gen1P = millis();}} else { _gen1I = 0 ; _gen1O= 0; } if (_gen1I &amp;&amp;&nbsp; _gen1O)&nbsp; &nbsp;_gen1O = !( _isTimer( _gen1P , 1000 ));<br />_gtv4 = ( ((RemoteXY.button_1)) || (_gen1O) );</p><br /><br /><br /><p>}<br />bool _isTimer(unsigned long startTime, unsigned long period )<br />&nbsp; {<br />&nbsp; unsigned long currentTime;<br />currentTime = millis();<br />if (currentTime&gt;= startTime) {return (currentTime&gt;=(startTime + period));} else {return (currentTime &gt;=(4294967295-startTime+period));}<br />&nbsp; }</p>]]></description>
			<author><![CDATA[null@example.com (efimoren)]]></author>
			<pubDate>Fri, 09 Mar 2018 16:04:02 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1384#p1384</guid>
		</item>
		<item>
			<title><![CDATA[Re: Непонятное ограничение remote xy]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1373#p1373</link>
			<description><![CDATA[<p>Проверьте работоспособность интерфейса без вашего дополнительного кода. Если не работает - скиньте сюда код. Если работает - ищите ошибку в вашем дополнительном коде.</p>]]></description>
			<author><![CDATA[null@example.com (remotexy)]]></author>
			<pubDate>Tue, 06 Mar 2018 06:01:03 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1373#p1373</guid>
		</item>
		<item>
			<title><![CDATA[Непонятное ограничение remote xy]]></title>
			<link>https://forum.remotexy.com/viewtopic.php?pid=1368#p1368</link>
			<description><![CDATA[<p>Создал проект дистанционного считывания попаданий в 7 мишеней ,по три зоны в каждой. Всего 21 входных портов и 21 переменных.Все данные передаются через wi fi,или BT, remote xy на смартфон. Все работает хорошо, если не добавлять еще мишень. В случае 8 мишеней ,разрывается связь между ардуино и смартфоном.?? Кто может объяснить причину? Спасибо.</p>]]></description>
			<author><![CDATA[null@example.com (efimoren)]]></author>
			<pubDate>Sun, 04 Mar 2018 16:49:13 +0000</pubDate>
			<guid>https://forum.remotexy.com/viewtopic.php?pid=1368#p1368</guid>
		</item>
	</channel>
</rss>
