I'm trying to use the BkpRAM from the upower module (https://github.com/peterhinch/micropyth ... /UPOWER.md) but I'm getting the following error:
Traceback (most recent call last):
File "main.py", line 6, in <module>
ImportError: no module named 'upower'
MicroPython v1.9.1 on 2017-06-11; PYBv1.1 with STM32F405RG
Any ideas?
ImportError: no module named 'upower'
-
- Posts: 24
- Joined: Wed Jan 02, 2019 11:45 am
Re: ImportError: no module named 'upower'
Doesn't anyone have a clue?
Re: ImportError: no module named 'upower'
What exactly did you try. Without showing the code that failed almost no-one can help you.
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: ImportError: no module named 'upower'
You need to copy upower.py to the Pyboard: to the SD card if you're using one, otherwise to the internal flash.
This applies to all user-contributed code: it isn't officially supported so needs to be installed before use.
This applies to all user-contributed code: it isn't officially supported so needs to be installed before use.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.