Search found 52 matches

by MCHobby
Sun May 19, 2019 8:24 am
Forum: Pyboard D-series
Topic: PYBD and WebREPL ?
Replies: 2
Views: 2738

Re: PYBD and WebREPL ?

Yahoo, Great!
Thank
by MCHobby
Sat May 18, 2019 11:06 am
Forum: Pyboard D-series
Topic: PYBD and WebREPL ?
Replies: 2
Views: 2738

PYBD and WebREPL ?

Hi,
I was playing with my Pyboard-D SF2W and discovered that WebRepl was not available on it!

>>> import webrepl_setup
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: no module named 'webrepl_setup'

Is the WebRepl missing or replaced ?
by MCHobby
Mon Sep 18, 2017 8:33 pm
Forum: ESP8266 boards
Topic: Change hostname.
Replies: 15
Views: 25456

Re: Change hostname.

Hi, I'm using ESP8266 under MicroPython. I had use the default ESP8266 hostname from WebRepl and find this really convenient when using the network DHCP. I'm using the modem-router from the Internet Provider. Using "ws://ESP_xxxx:8266" with WebRepl is really a dream. However, from time to time this ...
by MCHobby
Sat Jun 18, 2016 3:17 pm
Forum: WiPy and CC3200 boards
Topic: Sending email
Replies: 36
Views: 178960

Re: Sending email

I was looking for smtplib but did not locate it.
Does someone have any information about it OR is this retired?

Regards,
Dominique
by MCHobby
Thu May 05, 2016 9:57 am
Forum: ESP8266 boards
Topic: Official release and Bin availability
Replies: 2
Views: 3324

Official release and Bin availability

The ESP8266 is now released with the version v1.8.

Did someone knows when the ESP8266 binary would be available on http://micropython.org/download/ ?
by MCHobby
Sat Apr 16, 2016 7:13 am
Forum: General Discussion and Questions
Topic: How to reduce the memory consumption of the object definition
Replies: 25
Views: 21430

Re: How to reduce the memory consumption of the object definition

So if I do understand properly, there is not other way than compiling a tuned "uPy firmware with Persistant Byte code" to reduce RAM consumption. It is a nice feature but probably over the knowledge of most of the makers. Is there other way (good practice) to reduce the memory consumption? Some thre...
by MCHobby
Fri Apr 15, 2016 6:44 am
Forum: General Discussion and Questions
Topic: How to reduce the memory consumption of the object definition
Replies: 25
Views: 21430

Re: How to reduce the memory consumption of that objet definition

Bear in mind that data stored in Flash is immutable. To avoid RAM use you'll need a bytes object rather than a bytearray. If you declare mutable variables, compile the module, and store it as persistent bytecode, at runtime the variables will presumably be put in RAM. I've only tested immutable dat...
by MCHobby
Fri Apr 15, 2016 6:42 am
Forum: General Discussion and Questions
Topic: How to reduce the memory consumption of the object definition
Replies: 25
Views: 21430

Re: How to reduce the memory consumption of that objet definition

On Arduino, we do have a way to grab back data from the Flash memory. This indeed requires to compile the Arduino sketck + upload to make the data available in the Flash (but this is a quite easy and short process) I would be nice to have a way to store some data into the Flash without recompiling t...
by MCHobby
Mon Apr 11, 2016 11:05 am
Forum: MicroPython pyboard
Topic: PyBoard: is there a way to expand physical ram on Pyboard
Replies: 6
Views: 5708

PyBoard: is there a way to expand physical ram on Pyboard

"Graphical application" will consume more RAM than other software. Indeed, code should be tuned and optimized to consume as less RAM as possible. However, what can we do if we are reaching the limit of available RAM on a PyBoard? Is there a way to extend the RAM? (I do already seen some amazing stuf...
by MCHobby
Sun Apr 10, 2016 5:08 pm
Forum: General Discussion and Questions
Topic: How to reduce the memory consumption of the object definition
Replies: 25
Views: 21430

How to reduce the memory consumption of the object definition

Hi everybody, I have the following object definition (Arial_14 stored inside arial_14.py) which consume 8Kb of ram ( calculated with gc.free_mem() & gc.alloc_mem() ) when I do import it. So when I do "from arial_14 import Arial_14" then 8 Kb of RAM are used. Since Arial_14 represent "static data", I...