<?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[Hold digital pin state in sleep mode?]]></title><description><![CDATA[<p dir="auto">Can anyone provide a working C++ example how to hold a digital output pin HIGH during ESP32 deep sleep? Thanks!</p>
]]></description><link>https://community.m5stack.com/topic/686/hold-digital-pin-state-in-sleep-mode</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 03:42:25 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/686.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 19 Feb 2019 18:18:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hold digital pin state in sleep mode? on Wed, 20 Feb 2019 10:39:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/966">@m5er</a> That is part of the problem, the ULP is not well documented and everyone is struggling with it</p>
]]></description><link>https://community.m5stack.com/post/3090</link><guid isPermaLink="true">https://community.m5stack.com/post/3090</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 20 Feb 2019 10:39:23 GMT</pubDate></item><item><title><![CDATA[Reply to Hold digital pin state in sleep mode? on Wed, 20 Feb 2019 09:16:23 GMT]]></title><description><![CDATA[<p dir="auto">Thank you <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/133419">@watson</a> and <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/443">@ajb2k3</a>. I did look into the documentation before asking this question, but it wasn't very clear to me how to put this into practice. That is why my question asked for a working example. I will still appreciate if someone could post that.</p>
]]></description><link>https://community.m5stack.com/post/3089</link><guid isPermaLink="true">https://community.m5stack.com/post/3089</guid><dc:creator><![CDATA[m5er]]></dc:creator><pubDate>Wed, 20 Feb 2019 09:16:23 GMT</pubDate></item><item><title><![CDATA[Reply to Hold digital pin state in sleep mode? on Wed, 20 Feb 2019 08:48:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/966">@m5er</a> said in <a href="/post/3079">Hold digital pin state in sleep mode?</a>:</p>
<blockquote>
<p dir="auto">Can anyone provide a working C++ example how to hold a digital output pin HIGH during ESP32 deep sleep? Thanks!</p>
</blockquote>
<p dir="auto">You need to look into the ULP for that as both cores of the esp are inactive during deep sleep</p>
]]></description><link>https://community.m5stack.com/post/3087</link><guid isPermaLink="true">https://community.m5stack.com/post/3087</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Wed, 20 Feb 2019 08:48:03 GMT</pubDate></item><item><title><![CDATA[Reply to Hold digital pin state in sleep mode? on Wed, 20 Feb 2019 07:38:43 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/966">@m5er</a> "Deep-sleep mode: Only RTC is powered on. Wi-Fi and Bluetooth connection data are stored in RTC<br />
memory. The ULP-coprocessor can work"      I think that it means the clock which drives GPIOs will sleep as well.</p>
]]></description><link>https://community.m5stack.com/post/3086</link><guid isPermaLink="true">https://community.m5stack.com/post/3086</guid><dc:creator><![CDATA[m5-docs]]></dc:creator><pubDate>Wed, 20 Feb 2019 07:38:43 GMT</pubDate></item></channel></rss>