<?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[GPIO rising&#x2F;falling events]]></title><description><![CDATA[<p dir="auto">I'm seeking to remotely monitor a solar pump using a Lora unit and AtomS3 Lite, and need to count pulses from a water meter's hall sensor.</p>
<p dir="auto">I see UIFlow1 provides blocks for capturing events on rising (or falling) GPIO inputs, which is what I need, however UIFlow1 won't work with this hardware. I can't find an equivalent on UIFlow2. Or is the PIN BTN 'is pressed' event effectively the same thing? Or do I need to do this in python?</p>
<p dir="auto">Adding to my confusion, I get the following from the M5 AI assistant:</p>
<p dir="auto"><em>3. UIFlow2 Block Configuration<br />
Initialize Pin: Use the "Pin" block (under "Hardware") to set the pin number, mode (IN), and pull resistor.<br />
Set Interrupt: Use the "Pin Interrupt" block to select the trigger edge and assign a handler function (defined via the "Function" block).</em></p>
<p dir="auto">Thats exactly what I want...but there is not such "Pin Interrupt" block that I can find.</p>
]]></description><link>https://community.m5stack.com/topic/7729/gpio-rising-falling-events</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Mar 2026 17:10:49 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7729.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 31 Jul 2025 22:16:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to GPIO rising&#x2F;falling events on Sun, 04 Jan 2026 20:57:16 GMT]]></title><description><![CDATA[<p dir="auto">Hi guys</p>
<p dir="auto">while there doesn't seem to be a <code>Pin Interrupt</code> block you can just put some code into an <code>Execute mpy code</code> block.</p>
<p dir="auto">I created an example showing interrupts use on Pins. You can find it in the UIFlow Project Zone called: <em>M5AtomS3_GPIO_Interrupt_UIFlow2.4.0</em></p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/30412</link><guid isPermaLink="true">https://community.m5stack.com/post/30412</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sun, 04 Jan 2026 20:57:16 GMT</pubDate></item><item><title><![CDATA[Reply to GPIO rising&#x2F;falling events on Sun, 04 Jan 2026 01:20:42 GMT]]></title><description><![CDATA[<p dir="auto">I have exactly the same problem. I would like to create an interupt to detect GPIO pulses for my Temperature Controller.</p>
]]></description><link>https://community.m5stack.com/post/30408</link><guid isPermaLink="true">https://community.m5stack.com/post/30408</guid><dc:creator><![CDATA[SpyrosEfth]]></dc:creator><pubDate>Sun, 04 Jan 2026 01:20:42 GMT</pubDate></item></channel></rss>