<?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[Interrupt routine for remote switch in UIFlow]]></title><description><![CDATA[<p dir="auto">Putty, the walking robot can go forward or backwards. When walking, I cannot stop or switch direction using a remote switch, because I cannot interrupt the flow. An interrupt routine is needed I guess. I found examples for a H/W pin interrupt, but not for S/W. Can anyone please help me?</p>
<p dir="auto"><img src="/assets/uploads/files/1629196279565-puppy-resized.png" alt="0_1629196276245_puppy.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://community.m5stack.com/topic/3529/interrupt-routine-for-remote-switch-in-uiflow</link><generator>RSS for Node</generator><lastBuildDate>Sat, 14 Mar 2026 00:12:32 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/3529.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 17 Aug 2021 10:32:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Interrupt routine for remote switch in UIFlow on Fri, 20 Aug 2021 11:43:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/8155">@werner_g</a> that's what I mean. haha.  you did it.</p>
]]></description><link>https://community.m5stack.com/post/14695</link><guid isPermaLink="true">https://community.m5stack.com/post/14695</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Fri, 20 Aug 2021 11:43:44 GMT</pubDate></item><item><title><![CDATA[Reply to Interrupt routine for remote switch in UIFlow on Thu, 19 Aug 2021 12:02:36 GMT]]></title><description><![CDATA[<p dir="auto">Thank you. Don't understand what you suggest, but finally I got it working like this:<br />
<img src="/assets/uploads/files/1629374481961-puppy2-resized.png" alt="0_1629374477997_puppy2.png" class=" img-fluid img-markdown" /><br />
Maybe you have better idea!</p>
]]></description><link>https://community.m5stack.com/post/14683</link><guid isPermaLink="true">https://community.m5stack.com/post/14683</guid><dc:creator><![CDATA[Werner_G]]></dc:creator><pubDate>Thu, 19 Aug 2021 12:02:36 GMT</pubDate></item><item><title><![CDATA[Reply to Interrupt routine for remote switch in UIFlow on Wed, 18 Aug 2021 02:10:52 GMT]]></title><description><![CDATA[<p dir="auto">actually, we don't suggest putting the <code>loop</code> to the callback function. I think you could create a variable to save the current state,  and then use the remote callback to change the state.</p>
]]></description><link>https://community.m5stack.com/post/14670</link><guid isPermaLink="true">https://community.m5stack.com/post/14670</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Wed, 18 Aug 2021 02:10:52 GMT</pubDate></item></channel></rss>