<?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[object has no attribute &#x27;pin_deepsleep_wakeup]]></title><description><![CDATA[<p dir="auto">I am trying to debug an intermittent &quot;fail to wake from deepsleep&quot; problem with my fipy+pytrack. Besides the timer I want to use the pytrack button to wake the fipy. The simple program to demo:</p>
<pre><code>import machine
print(&quot;debug wake&quot;)
print(machine.wake_reason())
machine.pin_deepsleep_wakeup(pins = ('P14',), mode = machine.WAKEUP_ALL_LOW, enable_pull = True)
</code></pre>
<pre><code>&gt;&gt;&gt;
debug wake
(0, None)
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 5, in &lt;module&gt;
AttributeError: 'module' object has no attribute 'pin_deepsleep_wakeup'
&gt;
Pycom MicroPython 1.20.0.rc4 [v1.9.4-1444e48] on 2019-01-07; FiPy with ESP32
Type &quot;help()&quot; for more information.
&gt;&gt;&gt;
</code></pre>
<p dir="auto">The code understands the first call to module machine, but not the second. Please help.</p>
<p dir="auto">Note that I am using a development version of Pycom, and no PyBytes. If I understand docs well, the pin_deepsleep_wakeup method is supported for the Fipy.</p>
]]></description><link>https://forum.pycom.io/topic/4243/object-has-no-attribute-pin_deepsleep_wakeup</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Mar 2026 15:56:15 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/4243.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 20 Jan 2019 13:39:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to object has no attribute &#x27;pin_deepsleep_wakeup on Sun, 20 Jan 2019 13:39:37 GMT]]></title><description><![CDATA[<p dir="auto">I am trying to debug an intermittent &quot;fail to wake from deepsleep&quot; problem with my fipy+pytrack. Besides the timer I want to use the pytrack button to wake the fipy. The simple program to demo:</p>
<pre><code>import machine
print(&quot;debug wake&quot;)
print(machine.wake_reason())
machine.pin_deepsleep_wakeup(pins = ('P14',), mode = machine.WAKEUP_ALL_LOW, enable_pull = True)
</code></pre>
<pre><code>&gt;&gt;&gt;
debug wake
(0, None)
Traceback (most recent call last):
  File &quot;&lt;stdin&gt;&quot;, line 5, in &lt;module&gt;
AttributeError: 'module' object has no attribute 'pin_deepsleep_wakeup'
&gt;
Pycom MicroPython 1.20.0.rc4 [v1.9.4-1444e48] on 2019-01-07; FiPy with ESP32
Type &quot;help()&quot; for more information.
&gt;&gt;&gt;
</code></pre>
<p dir="auto">The code understands the first call to module machine, but not the second. Please help.</p>
<p dir="auto">Note that I am using a development version of Pycom, and no PyBytes. If I understand docs well, the pin_deepsleep_wakeup method is supported for the Fipy.</p>
]]></description><link>https://forum.pycom.io/post/25043</link><guid isPermaLink="true">https://forum.pycom.io/post/25043</guid><dc:creator><![CDATA[SevenW]]></dc:creator><pubDate>Sun, 20 Jan 2019 13:39:37 GMT</pubDate></item><item><title><![CDATA[Reply to object has no attribute &#x27;pin_deepsleep_wakeup on Sun, 20 Jan 2019 13:57:33 GMT]]></title><description><![CDATA[<p dir="auto">Found a start of an answer here: <a href="https://forum.pycom.io/topic/3624/machine-pin_deepsleep_wakeup-function-is-not-working-in-lopy4-firmware-version-1-19-0-b2">https://forum.pycom.io/topic/3624/machine-pin_deepsleep_wakeup-function-is-not-working-in-lopy4-firmware-version-1-19-0-b2</a></p>
<p dir="auto">Link to developemtn documentation on github: <a href="https://github.com/pycom/pycom-documentation/tree/development_release/firmwareapi/pycom/machine" target="_blank" rel="noopener noreferrer nofollow">https://github.com/pycom/pycom-documentation/tree/development_release/firmwareapi/pycom/machine</a></p>
<p dir="auto">The method is renamed to pin_sleep_wakeup()</p>
]]></description><link>https://forum.pycom.io/post/25044</link><guid isPermaLink="true">https://forum.pycom.io/post/25044</guid><dc:creator><![CDATA[SevenW]]></dc:creator><pubDate>Sun, 20 Jan 2019 13:57:33 GMT</pubDate></item></channel></rss>