<?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[Read from EEPROM hangs]]></title><description><![CDATA[<p dir="auto">I have a program that reads a key from EEPROM.  I've written a value to the key, but whenever I try to read it, it just hands the entire sketch.</p>
<p dir="auto">Here's the Python code that is running:<br />
def btn_save_magic_number_pressed():<br />
speaker.playTone(523, 2, volume=5)<br />
nvs.write(str('magic_number'), track_magic_number)<br />
speaker.playTone(262, 2, volume=5)<br />
label0.set_text(str(int((nvs.read_str('magic_number')))))<br />
speaker.playTone(131, 2, volume=5)<br />
pass</p>
<p dir="auto">I get the first two tones played (indicating it has written the EEPROM key), but the third never plays, and the label value never changes.</p>
<p dir="auto">I have tried other code to read the EEPROM, they always hang.</p>
]]></description><link>https://community.m5stack.com/topic/5652/read-from-eeprom-hangs</link><generator>RSS for Node</generator><lastBuildDate>Fri, 08 May 2026 07:40:50 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5652.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 18 Sep 2023 20:46:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Read from EEPROM hangs on Wed, 20 Sep 2023 13:00:33 GMT]]></title><description><![CDATA[<p dir="auto">Sounds good!</p>
<p dir="auto">When is 1.12.5 expected to be available?</p>
]]></description><link>https://community.m5stack.com/post/22276</link><guid isPermaLink="true">https://community.m5stack.com/post/22276</guid><dc:creator><![CDATA[JeffDG]]></dc:creator><pubDate>Wed, 20 Sep 2023 13:00:33 GMT</pubDate></item><item><title><![CDATA[Reply to Read from EEPROM hangs on Wed, 20 Sep 2023 02:58:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jeffdg" aria-label="Profile: JeffDG">@<bdi>JeffDG</bdi></a> Hi, Bug fixed, this feature is supported in the next firmware version(v1.12.5)</p>
]]></description><link>https://community.m5stack.com/post/22267</link><guid isPermaLink="true">https://community.m5stack.com/post/22267</guid><dc:creator><![CDATA[pandian.nano]]></dc:creator><pubDate>Wed, 20 Sep 2023 02:58:20 GMT</pubDate></item></channel></rss>