importing blynklib_mp.py issue

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
rambler_wf
Posts: 1
Joined: Fri May 14, 2021 1:54 pm

importing blynklib_mp.py issue

Post by rambler_wf » Sat May 15, 2021 9:00 am

Hello Ladies/Gents, I tried importing blynklib_mp.py, and got error as follow:

Code: Select all

Traceback (most recent call last):
             File "<stdin>", line 2, in <module>
             MemoryError: memory a

Code: Select all

import machine,time,network
import blynklib_mp as blynklib

#blynk=blynklib.Blynk(Auth)

wf=network.WLAN(network.STA_IF)
wf.active(True)
wf.scan()
wf.connect("testwifi","testwifi123")

while(wf.isconnected==False):
    print('connecting...')
   
print(wf.ifconfig())
I've coped the blynklib_mp.py to ESP01(1M flash) board, is there anything wrong?

Thank you!

timmer
Posts: 3
Joined: Mon Feb 15, 2021 2:42 pm

Re: importing blynklib_mp.py issue

Post by timmer » Wed Jun 09, 2021 11:13 am

Hi,
I have a similar issue with the NodeMCU V3 (4MB). The system does not recognize the 'blynklib_mp' library, despite I placed it in a /lib folder on the NodeMCU.
I got earlier a the same memory error as you, but using and placing 'blynklib' in a /lib folder on the device solved that problem.
I use Thonny to interface.

Any idea why I get an unrecognized 'blynklib_mp' error ?

Post Reply