<?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[UIFLOW Measure input pulse]]></title><description><![CDATA[<p dir="auto">Hello,<br />
I have been using Arduino for a while but have recently been trying UIFlow.<br />
Is there a way to measure the width of an input pulse on a GPIO input, similar to the Arduino pulsein() function?<br />
Regards<br />
Phil.</p>
]]></description><link>https://community.m5stack.com/topic/1884/uiflow-measure-input-pulse</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 19:11:48 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1884.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 Apr 2020 17:38:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to UIFLOW Measure input pulse on Fri, 24 Apr 2020 01:49:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/philg1300" aria-label="Profile: PhilG1300">@<bdi>PhilG1300</bdi></a> the latest Uiflow firmware 1.5.0 is based on micropython v1.12 which introduced a new feature called RMT, <a href="https://docs.micropython.org/en/latest/library/esp32.html#rmt" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.micropython.org/en/latest/library/esp32.html#rmt</a> it supposedly can generate and receive pulses as low as 12.5ns, I haven't experimented much with this library, but it may serve your purpose. To use those micropython commands you could just paste them into an execute block in your code</p>
]]></description><link>https://community.m5stack.com/post/8330</link><guid isPermaLink="true">https://community.m5stack.com/post/8330</guid><dc:creator><![CDATA[lukasmaximus]]></dc:creator><pubDate>Fri, 24 Apr 2020 01:49:40 GMT</pubDate></item><item><title><![CDATA[Reply to UIFLOW Measure input pulse on Fri, 24 Apr 2020 01:31:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/philg1300" aria-label="Profile: philg1300">@<bdi>philg1300</bdi></a> UIflow don't  have function the measure the width of an input pulse yet</p>
]]></description><link>https://community.m5stack.com/post/8329</link><guid isPermaLink="true">https://community.m5stack.com/post/8329</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Fri, 24 Apr 2020 01:31:51 GMT</pubDate></item></channel></rss>