<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[IR Block Problem with Built in IR LED]]></title><description><![CDATA[<ul>
<li>What device are you using? mention the device type, purchase date can be useful as well.</li>
</ul>
<ul>
<li>M5StickC+ purchase about a year ago or so</li>
</ul>
<ul>
<li>What firmware are you using? how did you burn the firmware into the device?</li>
</ul>
<ul>
<li>firmware 1.8.8 installed today via m5Burner</li>
</ul>
<ul>
<li>Version of UIFlow you are using</li>
</ul>
<ul>
<li>1.8.8</li>
</ul>
<ul>
<li>Steps to re-production of the issue so we could test it as well</li>
</ul>
<ul>
<li>See Below</li>
</ul>
<ul>
<li>If it's network / connection issue please make sure to state the country, might be CDN issue or servers issues.</li>
</ul>
<ul>
<li>Network is fine</li>
</ul>
<ul>
<li>Example code if you have one, what you are trying to run so we could re-produce it. When you post your code, make sure to format it properly so we could read it. another option will be to upload it to a website like <a href="http://pastebin.com" target="_blank" rel="noopener noreferrer nofollow ugc">pastebin.com</a> so we could read it properly.</li>
</ul>
<ul>
<li>See below</li>
</ul>
<p dir="auto">I’m trying to use the IR block with the built in IR LED. The address doesn’t seem to be sending properly. If I use an address that is less than 0x00FF it sends the first 8bits in the opposite order and then the second 8bits as an inversion of the first 8bits. If I use an address greater than 0x00FF it sends 0xFF00 which I think is an error code.</p>
<p dir="auto">I believe this the issue is that the code is handling the address like the data (which uses an inverted pair for error checking purposes)</p>
<p dir="auto">Also the data is being sent backwards too; but that is easy to work around.</p>
<p dir="auto">Example:<br />
If I send the address 0x0001 I get 0x807F<br />
In binary: 0000 0000 0000 0001 goes to 1000 0000 0111 1111</p>
<p dir="auto">Code:<br />
<img src="https://imgur.com/FOPQ1wC" alt="Codet" class=" img-fluid img-markdown" /><br />
<img src="https://imgur.com/N0UEvl8" alt="UI Setupt" class=" img-fluid img-markdown" /><br />
<img src="https://imgur.com/6Rg98dC" alt="Arduino showing recieved data" class=" img-fluid img-markdown" /></p>
<p dir="auto">I’m using the setup from this page to test my code: [<a href="https://simple-circuit.com/arduino-nec-remote-control-decoder/" target="_blank" rel="noopener noreferrer nofollow ugc">https://simple-circuit.com/arduino-nec-remote-control-decoder/</a>](link url)</p>
<p dir="auto">I need to send the Address: C1AA</p>
]]></description><link>https://community.m5stack.com/topic/3810/ir-block-problem-with-built-in-ir-led</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 04:14:11 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3810.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 07 Dec 2021 13:26:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to IR Block Problem with Built in IR LED on Mon, 13 Dec 2021 18:01:34 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/cmspooner" aria-label="Profile: cmspooner">@<bdi>cmspooner</bdi></a></p>
<p dir="auto">I don't know enough about Python to answer this question. Sorry.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/15807</link><guid isPermaLink="true">https://community.m5stack.com/post/15807</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Mon, 13 Dec 2021 18:01:34 GMT</pubDate></item><item><title><![CDATA[Reply to IR Block Problem with Built in IR LED on Mon, 13 Dec 2021 13:49:27 GMT]]></title><description><![CDATA[<p dir="auto">Thank you so much for your insight. Is python fast enough to manually blink the led, or would I have to re-write the protocol in C to make it work?</p>
]]></description><link>https://community.m5stack.com/post/15805</link><guid isPermaLink="true">https://community.m5stack.com/post/15805</guid><dc:creator><![CDATA[cmspooner]]></dc:creator><pubDate>Mon, 13 Dec 2021 13:49:27 GMT</pubDate></item><item><title><![CDATA[Reply to IR Block Problem with Built in IR LED on Sat, 11 Dec 2021 13:47:35 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/cmspooner" aria-label="Profile: cmspooner">@<bdi>cmspooner</bdi></a></p>
<p dir="auto">there are two NEC protocols (standard and extended). There is a good explanation <a href="https://www.sbprojects.net/knowledge/ir/nec.php" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>.</p>
<p dir="auto">I've tested the IR block with an M5StickCPlus and a device using standard NEC protocol and it worked as expected.</p>
<p dir="auto">I have a feeling that only standard NEC format is supported and your address seem to be of the extended NEC variant.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/15779</link><guid isPermaLink="true">https://community.m5stack.com/post/15779</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 11 Dec 2021 13:47:35 GMT</pubDate></item></channel></rss>