<?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[How to use the Buzzer in M5Stick]]></title><description><![CDATA[<p dir="auto">I tried to use the buzzer on M5Stick.<br />
In UIFlow I used Advanced &gt; PIN &gt; digital write pin 26 to 1, but you don't hear the buzzer. You can feel that M5Stick "tries" to do it.</p>
<p dir="auto">So what did I wrong? I expected to have a buffer as in a mobile phone to at least feel if vibrating or to hear a beep?</p>
]]></description><link>https://community.m5stack.com/topic/514/how-to-use-the-buzzer-in-m5stick</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 08:40:19 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/514.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 17 Jan 2019 15:09:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to use the Buzzer in M5Stick on Thu, 17 Jan 2019 17:32:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/an-erd" aria-label="Profile: an-erd">@<bdi>an-erd</bdi></a> said in <a href="/post/2539">How to use the Buzzer in M5Stick</a>:</p>
<blockquote>
<p dir="auto">I tried to use the buzzer on M5Stick.<br />
In UIFlow I used Advanced &gt; PIN &gt; digital write pin 26 to 1, but you don't hear the buzzer. You can feel that M5Stick "tries" to do it.</p>
<p dir="auto">So what did I wrong? I expected to have a buffer as in a mobile phone to at least feel if vibrating or to hear a beep?</p>
</blockquote>
<p dir="auto">You don't do that in UIflow, you use speaker.tone(1600, 200) or speaker.sing(220, 1)</p>
<pre><code>from m5stack import *
from m5ui import *

clear_bg(0x111111)





speaker.tone(1600, 200)
speaker.sing(220, 1)
</code></pre>
<p dir="auto">or the Speaker beep and play tone blocks in the blocky mode.</p>
]]></description><link>https://community.m5stack.com/post/2540</link><guid isPermaLink="true">https://community.m5stack.com/post/2540</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Thu, 17 Jan 2019 17:32:49 GMT</pubDate></item></channel></rss>