<?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[[Solved]How to use interruption processing in m5stack]]></title><description><![CDATA[<p dir="auto">I want to make a simple game.<br />
When you pressed button of m5stack, how did you move other function?<br />
There is not other function in roop().I use Arduino1.8.9.</p>
]]></description><link>https://community.m5stack.com/topic/988/solved-how-to-use-interruption-processing-in-m5stack</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 01:01:45 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/988.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 08 May 2019 12:12:23 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved]How to use interruption processing in m5stack on Thu, 09 May 2019 10:03:32 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/tkb-koki" aria-label="Profile: tkb-koki">@<bdi>tkb-koki</bdi></a>,</p>
<p dir="auto">How about this example code?</p>
<p dir="auto"><a href="https://github.com/futureshocked/ESP32-For-Busy-People-1/blob/9ede724a862539ae18aad1500426ceb4415d5052/04-070_Interrupt_with_button_and_led/04-070_Interrupt_with_button_and_led.ino" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/futureshocked/ESP32-For-Busy-People-1/blob/9ede724a862539ae18aad1500426ceb4415d5052/04-070_Interrupt_with_button_and_led/04-070_Interrupt_with_button_and_led.ino</a></p>
]]></description><link>https://community.m5stack.com/post/4205</link><guid isPermaLink="true">https://community.m5stack.com/post/4205</guid><dc:creator><![CDATA[m5-docs]]></dc:creator><pubDate>Thu, 09 May 2019 10:03:32 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]How to use interruption processing in m5stack on Thu, 09 May 2019 06:57:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/m5-docs" aria-label="Profile: m5-docs">@<bdi>m5-docs</bdi></a> not multi. I want to use interruption processing.</p>
]]></description><link>https://community.m5stack.com/post/4201</link><guid isPermaLink="true">https://community.m5stack.com/post/4201</guid><dc:creator><![CDATA[tkb koki]]></dc:creator><pubDate>Thu, 09 May 2019 06:57:09 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]How to use interruption processing in m5stack on Thu, 09 May 2019 06:55:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ajb2k3" aria-label="Profile: ajb2k3">@<bdi>ajb2k3</bdi></a> I am using Arduino IDE.</p>
]]></description><link>https://community.m5stack.com/post/4200</link><guid isPermaLink="true">https://community.m5stack.com/post/4200</guid><dc:creator><![CDATA[tkb koki]]></dc:creator><pubDate>Thu, 09 May 2019 06:55:27 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]How to use interruption processing in m5stack on Thu, 09 May 2019 01:06:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tkb-koki" aria-label="Profile: tkb-koki">@<bdi>tkb-koki</bdi></a> multi-Progress？</p>
]]></description><link>https://community.m5stack.com/post/4195</link><guid isPermaLink="true">https://community.m5stack.com/post/4195</guid><dc:creator><![CDATA[m5-docs]]></dc:creator><pubDate>Thu, 09 May 2019 01:06:41 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]How to use interruption processing in m5stack on Wed, 08 May 2019 16:09:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tkb-koki" aria-label="Profile: tkb-koki">@<bdi>tkb-koki</bdi></a> What programming system are you using?<br />
In UIFlow you have a series of loops including loops dedicated to just the three buttons on the front.</p>
]]></description><link>https://community.m5stack.com/post/4192</link><guid isPermaLink="true">https://community.m5stack.com/post/4192</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 08 May 2019 16:09:27 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]How to use interruption processing in m5stack on Wed, 08 May 2019 13:31:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/m5-docs" aria-label="Profile: m5-docs">@<bdi>m5-docs</bdi></a> No, i was able to use BUTTON.<br />
I want to use other function while executing "delay();".</p>
]]></description><link>https://community.m5stack.com/post/4191</link><guid isPermaLink="true">https://community.m5stack.com/post/4191</guid><dc:creator><![CDATA[tkb koki]]></dc:creator><pubDate>Wed, 08 May 2019 13:31:54 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved]How to use interruption processing in m5stack on Wed, 08 May 2019 12:27:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/tkb-koki" aria-label="Profile: tkb-koki">@<bdi>tkb-koki</bdi></a> Do you means how to use BUTTON on M5Stack Core?</p>
<p dir="auto">If I am right, you can refer to the code blow.</p>
<p dir="auto"><a href="https://github.com/m5stack/M5Stack/tree/master/examples/Basics" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/M5Stack/tree/master/examples/Basics</a></p>
<pre><code>/*
    Name:       button.ino
    Created:    2018/9/21 14:06:15
    Author:     sakabin
*/

#include &lt;M5Stack.h&gt;
// The setup() function runs once each time the micro-controller starts
void setup() {
  // init lcd, serial, but don't init sd card
  M5.begin(true, false, true);
  M5.Lcd.clear(BLACK);
  M5.Lcd.setTextColor(YELLOW);
  M5.Lcd.setTextSize(2);
  M5.Lcd.setCursor(65, 10);
  M5.Lcd.println("Button example");
  M5.Lcd.setCursor(3, 35);
  M5.Lcd.println("Press button B for 700ms");
  M5.Lcd.println("to clear screen.");
  M5.Lcd.setTextColor(RED);
}

// Add the main program code into the continuous loop() function
void loop() {
  M5.update();
 
  // if you want to use Releasefor("was released for"), use .wasReleasefor(int time) below
  if (M5.BtnA.wasReleased()) {
    M5.Lcd.print('A');
  } else if (M5.BtnB.wasReleased()) {
    M5.Lcd.print('B');
  } else if (M5.BtnC.wasReleased()) {
    M5.Lcd.print('C');
  } else if (M5.BtnB.wasReleasefor(700)) {
    M5.Lcd.clear(BLACK);
    M5.Lcd.setCursor(0, 0);
  }
}
© 2019 GitHub, In
</code></pre>
]]></description><link>https://community.m5stack.com/post/4190</link><guid isPermaLink="true">https://community.m5stack.com/post/4190</guid><dc:creator><![CDATA[m5-docs]]></dc:creator><pubDate>Wed, 08 May 2019 12:27:02 GMT</pubDate></item></channel></rss>