Deep Sleep on Fipy
I'm working for a carrier and bought 3 Fipys. Now I would like to put them into deep sleep to do some current measurements. I've already wrote a mail to the support of Pycom, but they didn't reply. That's why I'm asking here now:
What's the correct why to put the Fipy into deep sleep as it doesn't requiere the Deep Sleep Shield?
I'm getting the following error:
Traceback (most recent call last):
File "main.py", line 13, in <module>
AttributeError: 'RTC' object has no attribute 'irq'
MicroPython v1.8.6-849-83e2f7f on 2018-03-19; FiPy with ESP32
Type "help()" for more information.
@jmarcelino Ok! And do I need to connect some cables for the wake-up i.e wake up pin?
On the FiPy you should use machine.deepsleep()