<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[RemoteXY community — индикатор не работает]]></title>
	<link rel="self" href="https://forum.remotexy.com/extern.php?action=feed&amp;tid=1381&amp;type=atom" />
	<updated>2021-09-11T20:55:58Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.remotexy.com/viewtopic.php?id=1381</id>
		<entry>
			<title type="html"><![CDATA[Re: индикатор не работает]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4240#p4240" />
			<content type="html"><![CDATA[<p>As for the RGB LED, it appears to now have an Alpha channel... basically a transparency level.&nbsp; Nice!</p>]]></content>
			<author>
				<name><![CDATA[Gunner]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1840</uri>
			</author>
			<updated>2021-09-11T20:55:58Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4240#p4240</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: индикатор не работает]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4238#p4238" />
			<content type="html"><![CDATA[<p>OH, sorry... I do see that there have been some undocumented changes <img src="https://forum.remotexy.com/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p><p>It appears that the basic LED now can have multiple states... as determined in the editor.</p><p>EG when choosing 4 states... you set your colour for each and get this in the code...</p><div class="codebox"><pre><code>// output variables
uint8_t led_1; // led state 0 .. 4</code></pre></div><p>Then I suspect that you would chose the color based on the value provided...</p><div class="codebox"><pre><code>RemoteXY.led_1 = 0;  // turn off LED
RemoteXY.led_1 = 1;  // turn on colour state 1
RemoteXY.led_1 = 2;  // turn on colour state 2
RemoteXY.led_1 = 3;  // turn on colour state 3
RemoteXY.led_1 = 4;  // turn on colour state 4</code></pre></div><p>There also appears to be an automatic &quot;code free&quot; blink mode, as set in the editor, that can be state dependent.&nbsp; EG, if you set state 4 to blink, then the LED will only blink when set to that colour state, else it will be static in all other colour states.</p>]]></content>
			<author>
				<name><![CDATA[Gunner]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1840</uri>
			</author>
			<updated>2021-09-11T20:27:08Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4238#p4238</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: индикатор не работает]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4237#p4237" />
			<content type="html"><![CDATA[<p>What is your question?</p><p>According to the code when using a single LED (not RGB LED) this is what you get...</p><div class="codebox"><pre><code>// output variables
uint8_t led_1; // led state 0 .. 1</code></pre></div><p>To use the LED you would simply do as such...</p><div class="codebox"><pre><code>RemoteXY.led_1 = 1;  // turn on LED
RemoteXY.led_1 = 0;  // turn off LED</code></pre></div><p>If you are using the RGB LED, then full ON would be 255, not 1 (think Analog, not Digital)</p>]]></content>
			<author>
				<name><![CDATA[Gunner]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1840</uri>
			</author>
			<updated>2021-09-11T20:12:05Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4237#p4237</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[индикатор не работает]]></title>
			<link rel="alternate" href="https://forum.remotexy.com/viewtopic.php?pid=4236#p4236" />
			<content type="html"><![CDATA[<p>не могу понять почему не работает просто индикатор светодиод ,а rgb работает ?<br />Разобрался там вы переделали раньше было 0-255 теперь 0-1, а справку не переделали</p>]]></content>
			<author>
				<name><![CDATA[vova1973]]></name>
				<uri>https://forum.remotexy.com/profile.php?id=1930</uri>
			</author>
			<updated>2021-09-11T16:18:35Z</updated>
			<id>https://forum.remotexy.com/viewtopic.php?pid=4236#p4236</id>
		</entry>
</feed>
