<?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[Need to make an alarm sound when temp rises on the M5core2]]></title><description><![CDATA[<p dir="auto">Hello<br />
I am trying for a whole day now to make a simple alarm sound when the temp measured by a sensor pass 85 degrees.<br />
tried all the demo codes but none works.<br />
Only one works with M5unified but it conflicts with my other libs<br />
'''#include &lt;M5Core2.h&gt;<br />
#include &lt;Module_4RELAY.h&gt;<br />
#include &lt;OneWire.h&gt;<br />
#include &lt;DallasTemperature.h&gt;<br />
#include &lt;M5_ACSSR.h&gt;'''<br />
PLEASE HELP anybody just a small piece of code for a alarm sound on the M5core2</p>
]]></description><link>https://community.m5stack.com/topic/6991/need-to-make-an-alarm-sound-when-temp-rises-on-the-m5core2</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 01:05:56 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/6991.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Nov 2024 08:06:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Need to make an alarm sound when temp rises on the M5core2 on Mon, 18 Nov 2024 12:13:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robski" aria-label="Profile: robski">@<bdi>robski</bdi></a><br />
I am not sure about your question - are you asking about the main code or the sound making code?<br />
I have tried a lot of different approaches to get an alarm sound but nothing worked. Last try was with <a href="https://github.com/Hagtronics/M5Stack-Core2/tree/main/Sound" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/Hagtronics/M5Stack-Core2/tree/main/Sound</a><br />
but with no success.<br />
I just need any working piece of code that makes a beep sound and I will add it to my main code.</p>
]]></description><link>https://community.m5stack.com/post/27084</link><guid isPermaLink="true">https://community.m5stack.com/post/27084</guid><dc:creator><![CDATA[ioamas]]></dc:creator><pubDate>Mon, 18 Nov 2024 12:13:35 GMT</pubDate></item><item><title><![CDATA[Reply to Need to make an alarm sound when temp rises on the M5core2 on Mon, 18 Nov 2024 11:03:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ioamas" aria-label="Profile: ioamas">@<bdi>ioamas</bdi></a> what is your code?</p>
]]></description><link>https://community.m5stack.com/post/27081</link><guid isPermaLink="true">https://community.m5stack.com/post/27081</guid><dc:creator><![CDATA[robski]]></dc:creator><pubDate>Mon, 18 Nov 2024 11:03:26 GMT</pubDate></item></channel></rss>