Search found 16 matches

by kkumar326
Mon Jan 15, 2018 5:21 am
Forum: General Discussion and Questions
Topic: What modules are pre-installed in esp8266 firmware binary?
Replies: 2
Views: 925

What modules are pre-installed in esp8266 firmware binary?

I'm looking for the list of added modules (.py) as here: https://github.com/micropython/micropyt ... 66/modules
in already built esp8266 firmware here: http://micropython.org/download#esp8266

Where can I find them?

Thanks!
by kkumar326
Tue Jan 09, 2018 12:59 pm
Forum: ESP8266 boards
Topic: microSD card reading
Replies: 20
Views: 14341

Re: microSD card reading

I'm also getting this error on Sandisk SD Card.

Code: Select all

File "sdcard.py", line 91, in init_card
OSError: couldn't determine SD card version
Is there a solution for this now?
by kkumar326
Tue Jan 02, 2018 11:51 am
Forum: General Discussion and Questions
Topic: Esp8266 throwing MemoryError:
Replies: 2
Views: 1031

Re: Esp8266 throwing MemoryError:

* Separate your code into smaller modules and import them from main.py. * Precompile your modules with mpy-cross on your PC and only copy the .mpy files to your board. * Use frozen modules. http://docs.micropython.org/en/latest/esp8266/reference/constrained.html#flash-memory I'm going to try .mpy f...
by kkumar326
Wed Nov 22, 2017 5:19 pm
Forum: General Discussion and Questions
Topic: Esp8266 throwing MemoryError:
Replies: 2
Views: 1031

Esp8266 throwing MemoryError:

I'm working on nodemcu. I've created main.py file which gets executed automatically. Now, when I'm running the device, it is throwing this error - MemoryError: It is not running a single thing on main.py. It is throwing error directly. I commented the whole code and I'm still getting this error. So,...
by kkumar326
Sat Nov 18, 2017 7:06 am
Forum: General Discussion and Questions
Topic: How to re import module?
Replies: 2
Views: 1162

Re: How to re import module?

[quote=pythoncoder post_id=23238 time=1510734823 user_id=265] Is this any help [url]https://forum.micropython.org/viewtopic.php?f=2&t=413&p=7609[/url]? [/quote] Instead of deleting the module, I'm simply changing variable value in realtime. Since, my purpose is to import few variable values only, th...
by kkumar326
Wed Nov 15, 2017 5:47 am
Forum: General Discussion and Questions
Topic: How to re import module?
Replies: 2
Views: 1162

How to re import module?

I'm running a loop in which I'm importing a custom script schedule.py
I'm updating schedule.py script in the same loop after the import.
How to make fresh import of schedule.py on top of the loop so that I can get the new variable values from it?