<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://leo.leung.xyz/wiki/index.php?action=history&amp;feed=atom&amp;title=IR_Codes</id>
	<title>IR Codes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://leo.leung.xyz/wiki/index.php?action=history&amp;feed=atom&amp;title=IR_Codes"/>
	<link rel="alternate" type="text/html" href="https://leo.leung.xyz/wiki/index.php?title=IR_Codes&amp;action=history"/>
	<updated>2026-10-25T19:20:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://leo.leung.xyz/wiki/index.php?title=IR_Codes&amp;diff=6385&amp;oldid=prev</id>
		<title>Leo: Added categories and navbox</title>
		<link rel="alternate" type="text/html" href="https://leo.leung.xyz/wiki/index.php?title=IR_Codes&amp;diff=6385&amp;oldid=prev"/>
		<updated>2021-12-30T01:19:25Z</updated>

		<summary type="html">&lt;p&gt;Added categories and navbox&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:19, 30 December 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l33&quot;&gt;Line 33:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 33:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Unfortunately, sending codes outside of the 24 has no effect on the driver. The reason I tested this was because I wanted to control the RGB values which other remotes for other drivers have.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Unfortunately, sending codes outside of the 24 has no effect on the driver. The reason I tested this was because I wanted to control the RGB values which other remotes for other drivers have.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{Navbox Tinkering}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Tinkering]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff:1.41:old-5209:rev-6385:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://leo.leung.xyz/wiki/index.php?title=IR_Codes&amp;diff=5209&amp;oldid=prev</id>
		<title>Leo: /* LED Strip Driver IR */</title>
		<link rel="alternate" type="text/html" href="https://leo.leung.xyz/wiki/index.php?title=IR_Codes&amp;diff=5209&amp;oldid=prev"/>
		<updated>2020-06-23T04:01:38Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;LED Strip Driver IR&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:01, 23 June 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== LED Strip Driver IR ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==LED Strip Driver IR==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:RGB LED Strip Remote.jpg|alt=RGB LED Strip Remote|left|thumb|221x221px|RGB LED Strip Remote]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:RGB LED Strip Remote.jpg|alt=RGB LED Strip Remote|left|thumb|221x221px|RGB LED Strip Remote]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;I have a LED strip driver which I wanted to try driving with an Arduino. Using a LCR TC1, the remote control&amp;#039;s first button can be decoded as &amp;lt;code&amp;gt;UserCode: 00EF DataCode: 00FF&amp;lt;/code&amp;gt;. The last button is decoded as &amp;lt;code&amp;gt;UserCode: 00EF DataCode: 17E8&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;I have a LED strip driver which I wanted to try driving with an Arduino. Using a LCR TC1, the remote control&amp;#039;s first button can be decoded as &amp;lt;code&amp;gt;UserCode: 00EF DataCode: 00FF&amp;lt;/code&amp;gt;. The last button is decoded as &amp;lt;code&amp;gt;UserCode: 00EF DataCode: 17E8&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;After some searching, the codes are of the NEC type. Using the [https://github.com/z3t0/Arduino-IRremote Arduino-IRremote] library and some trial an error it looks like the code data is sent as a 4 byte word. The first 2 bytes are for the button number and the last 2 bytes are the inverse of the number.&amp;lt;gallery&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;After some searching, the codes are of the NEC type. Using the [https://github.com/z3t0/Arduino-IRremote Arduino-IRremote] library and some trial an error it looks like the code data is sent as a 4 byte word. The first 2 bytes are for the button number and the last 2 bytes are the inverse of the number&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. The two 2 byte values are in little endian and the bits are reversed. That is. 0x01ABCDEF is encoded as 0xAB01 and 0xEFCD with each section&#039;s binary reversed. For example. 0x00EF is encoded as 0xEF00, which is 1110111100000000 in binary and when reversed is 0000000011110111 or 0x00F7&lt;/ins&gt;.&amp;lt;gallery&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;File:LCR-TC1 IR Decode 1.jpg|&amp;#039;&amp;#039;&amp;#039;LCR-TC1 IR Decode 1&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;File:LCR-TC1 IR Decode 1.jpg|&amp;#039;&amp;#039;&amp;#039;LCR-TC1 IR Decode 1&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;File:LCR-TC1 IR Decode 2.jpg|alt=LCR-TC1 IR Decode 2|&amp;#039;&amp;#039;&amp;#039;LCR-TC1 IR Decode 2&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;File:LCR-TC1 IR Decode 2.jpg|alt=LCR-TC1 IR Decode 2|&amp;#039;&amp;#039;&amp;#039;LCR-TC1 IR Decode 2&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff:1.41:old-5208:rev-5209:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
	<entry>
		<id>https://leo.leung.xyz/wiki/index.php?title=IR_Codes&amp;diff=5208&amp;oldid=prev</id>
		<title>Leo: Created page with &quot;== LED Strip Driver IR == RGB LED Strip Remote I have a LED strip driver which I wanted to try...&quot;</title>
		<link rel="alternate" type="text/html" href="https://leo.leung.xyz/wiki/index.php?title=IR_Codes&amp;diff=5208&amp;oldid=prev"/>
		<updated>2020-06-23T03:53:51Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== LED Strip Driver IR == &lt;a href=&quot;/wiki/File:RGB_LED_Strip_Remote.jpg&quot; title=&quot;File:RGB LED Strip Remote.jpg&quot;&gt;alt=RGB LED Strip Remote|left|thumb|221x221px|RGB LED Strip Remote&lt;/a&gt; I have a LED strip driver which I wanted to try...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== LED Strip Driver IR ==&lt;br /&gt;
[[File:RGB LED Strip Remote.jpg|alt=RGB LED Strip Remote|left|thumb|221x221px|RGB LED Strip Remote]]&lt;br /&gt;
I have a LED strip driver which I wanted to try driving with an Arduino. Using a LCR TC1, the remote control&amp;#039;s first button can be decoded as &amp;lt;code&amp;gt;UserCode: 00EF DataCode: 00FF&amp;lt;/code&amp;gt;. The last button is decoded as &amp;lt;code&amp;gt;UserCode: 00EF DataCode: 17E8&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
After some searching, the codes are of the NEC type. Using the [https://github.com/z3t0/Arduino-IRremote Arduino-IRremote] library and some trial an error it looks like the code data is sent as a 4 byte word. The first 2 bytes are for the button number and the last 2 bytes are the inverse of the number.&amp;lt;gallery&amp;gt;&lt;br /&gt;
File:LCR-TC1 IR Decode 1.jpg|&amp;#039;&amp;#039;&amp;#039;LCR-TC1 IR Decode 1&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
File:LCR-TC1 IR Decode 2.jpg|alt=LCR-TC1 IR Decode 2|&amp;#039;&amp;#039;&amp;#039;LCR-TC1 IR Decode 2&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;The Arduino code to sent a button number is given below.&lt;br /&gt;
&lt;br /&gt;
{{Highlight&lt;br /&gt;
| code = void send(int button) {&lt;br /&gt;
	int value = 0;&lt;br /&gt;
	&lt;br /&gt;
	int check = 0xff - button;&lt;br /&gt;
	&lt;br /&gt;
	// button is on 1st byte&lt;br /&gt;
	for (int x = 0 ; x &amp;lt; 8; x++) {&lt;br /&gt;
		// button byte reversed&lt;br /&gt;
		value {{!}}= (((button &amp;amp; (0x01 &amp;lt;&amp;lt; x)) &amp;gt;&amp;gt; x) &amp;lt;&amp;lt; (7 - x)) &amp;lt;&amp;lt; 8;&lt;br /&gt;
		&lt;br /&gt;
		// check byte reversed&lt;br /&gt;
		value {{!}}= ((check &amp;amp; (0x01 &amp;lt;&amp;lt; x)) &amp;gt;&amp;gt; x) &amp;lt;&amp;lt; (7 - x);&lt;br /&gt;
	}&lt;br /&gt;
	&lt;br /&gt;
	Serial.print(&amp;quot;Sending &amp;quot;);&lt;br /&gt;
	Serial.print(i);&lt;br /&gt;
	Serial.println();&lt;br /&gt;
	&lt;br /&gt;
	irsend.sendNEC(0x00F70000 + value, 32);&lt;br /&gt;
	delay(50);&lt;br /&gt;
}&lt;br /&gt;
| lang = C&lt;br /&gt;
}}&lt;br /&gt;
Unfortunately, sending codes outside of the 24 has no effect on the driver. The reason I tested this was because I wanted to control the RGB values which other remotes for other drivers have.&lt;/div&gt;</summary>
		<author><name>Leo</name></author>
	</entry>
</feed>