<?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[Tab5 - Speaker init after crash (using Arduino IDE)]]></title><description><![CDATA[<p dir="auto">If my sketch crashes for any reason, I lose the ability to hear anything from the speaker. to rectify, I need to</p>
<p dir="auto">a) Turn Tab 5 off (power button)<br />
b) Connect headset to jack and turn on Tab 5<br />
c) I can now hear sounds on the headset;<br />
d) Disconnect the headset<br />
e) Sounds on the external speaker now plays</p>
<p dir="auto">This is quite cumbersome and being able to do this programmatically would be a big win. ChatGPT is not able to figure this out.</p>
<p dir="auto">I notice @felume has a "SetSpeakerEnable" in his repo but I cannot get this to work either <a href="https://github.com/felmue/M5Tab5/blob/main/src/M5Tab5.cpp#L101" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/felmue/M5Tab5/blob/main/src/M5Tab5.cpp#L101</a></p>
<p dir="auto">Just wondering if anyone has observed this behavior and have any software workarounds.</p>
<p dir="auto">thanks!</p>
]]></description><link>https://community.m5stack.com/topic/7813/tab5-speaker-init-after-crash-using-arduino-ide</link><generator>RSS for Node</generator><lastBuildDate>Mon, 16 Mar 2026 05:35:24 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/7813.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 13 Sep 2025 00:08:04 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tab5 - Speaker init after crash (using Arduino IDE) on Sun, 14 Sep 2025 14:02:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/4037">@felmue</a> Yes thanks this is my current workaround (I did have the battery so I just take it out). Speaker is very loud. I guess I just have to avoid any crashes : )</p>
]]></description><link>https://community.m5stack.com/post/29942</link><guid isPermaLink="true">https://community.m5stack.com/post/29942</guid><dc:creator><![CDATA[aleekwen]]></dc:creator><pubDate>Sun, 14 Sep 2025 14:02:54 GMT</pubDate></item><item><title><![CDATA[Reply to Tab5 - Speaker init after crash (using Arduino IDE) on Sat, 13 Sep 2025 06:12:15 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/14347">@aleekwen</a></p>
<p dir="auto">I am testing with the <a href="https://github.com/m5stack/M5Unified/blob/master/examples/Basic/Speaker/Speaker.ino" target="_blank" rel="noopener noreferrer nofollow ugc">speaker sample code</a> in M5Unified and then force a crash. And yes, after the automatic reboot the speaker is silent. However a short press on the power/reset button brings the speaker back.</p>
<p dir="auto">The only thing I noticed, is, that when the battery is attached I sometimes need to reset M5Tab5 twice before the speaker comes back.</p>
<p dir="auto">BTW: after a reboot the call to <code>M5.begin()</code> automatically enables the speaker; there is no need to call <code>M5Tab5.SetSpeakerEnable(true)</code>.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/29930</link><guid isPermaLink="true">https://community.m5stack.com/post/29930</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Sat, 13 Sep 2025 06:12:15 GMT</pubDate></item></channel></rss>