<?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 Unit with Core S3]]></title><description><![CDATA[<p dir="auto">I was trying to use the IR Unit with my Core S3 in blocks (UIFlow 2.4.0) and it keeps saying there is an invalid timer time. On Port B, with just the Init block and/or the send block, it works fine. No errors. But when I try to receive data, it just brings back the timer error:</p>
<pre><code>Traceback (most recent call last):
  File "&lt;stdin&gt;", line 37, in &lt;module&gt;
  File "&lt;stdin&gt;", line 29, in setup
  File "unit/ir.py", line 24, in rx_cb
  File "driver/ir/nec.py", line 116, in __init__
  File "driver/ir/nec.py", line 67, in __init__
  File "driver/ir/receiver.py", line 47, in __init__
ValueError: invalid Timer number

&gt;&gt;&gt; 
</code></pre>
<p dir="auto">Here is the auto generated code that produced the errors:</p>
<pre><code>import os, sys, io
import M5
from M5 import *
import m5ui
import lvgl as lv
from unit import IRUnit
import time



page0 = None
label0 = None
label1 = None
ir_0 = None


add = None
dat = None


def ir_0_rx_event(_data, _addr, _ctrl):
  global page0, label0, label1, ir_0, add, dat
  dat = _data
  add = _addr
  time.sleep(1)


def setup():
  global page0, label0, label1, ir_0, add, dat

  M5.begin()
  Widgets.setRotation(1)
  m5ui.init()
  page0 = m5ui.M5Page(bg_c=0xffffff)
  label0 = m5ui.M5Label("label0", x=71, y=65, text_c=0x000000, bg_c=0xffffff, bg_opa=0, font=lv.font_montserrat_14, parent=page0)
  label1 = m5ui.M5Label("label1", x=69, y=104, text_c=0x000000, bg_c=0xffffff, bg_opa=0, font=lv.font_montserrat_14, parent=page0)

  ir_0 = IRUnit((8, 9))
  ir_0.rx_cb(ir_0_rx_event)
  page0.screen_load()
  add = 0
  dat = 0


def loop():
  global page0, label0, label1, ir_0, add, dat
  M5.update()


if __name__ == '__main__':
  try:
    setup()
    while True:
      loop()
  except (Exception, KeyboardInterrupt) as e:
    try:
      m5ui.deinit()
      from utility import print_error_msg
      print_error_msg(e)
    except ImportError:
      print("please update to latest firmware")

</code></pre>
<p dir="auto">Here is the block code:<br />
<img src="/assets/uploads/files/1766832249054-870aabc6-9981-4d2a-a4af-fa4187d9f3b5-image.png" alt="870aabc6-9981-4d2a-a4af-fa4187d9f3b5-image.png" class=" img-fluid img-markdown" /><br />
Any help much appreciated!</p>
]]></description><link>https://community.m5stack.com/topic/7971/ir-unit-with-core-s3</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 23:55:28 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7971.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 27 Dec 2025 10:45:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to IR Unit with Core S3 on Tue, 03 Mar 2026 18:12:19 GMT]]></title><description><![CDATA[<p dir="auto">Hi guys</p>
<p dir="auto">I can confirm receiving IR from Unit IR is broken for M5Core2 as well.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/30708</link><guid isPermaLink="true">https://community.m5stack.com/post/30708</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Tue, 03 Mar 2026 18:12:19 GMT</pubDate></item><item><title><![CDATA[Reply to IR Unit with Core S3 on Mon, 02 Mar 2026 21:36:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/rpi25" aria-label="Profile: RPI25">@<bdi>RPI25</bdi></a> I'm having the same issues with same and newer version of UIflow 2.4.2, but with cardputer v1.1,Cardputer ADV, and NANO C6. it seems like devs forget to to put IR libraries or something like that into the firmware and didn't noticed it.<br />
unfortunately they didn't answered me on discord server, and i have no hope getting answer here as well.....</p>
<p dir="auto">sending data? yes, no problem. Built in IR and external, but no recieve Т.Т</p>
]]></description><link>https://community.m5stack.com/post/30705</link><guid isPermaLink="true">https://community.m5stack.com/post/30705</guid><dc:creator><![CDATA[Physalice]]></dc:creator><pubDate>Mon, 02 Mar 2026 21:36:46 GMT</pubDate></item></channel></rss>