Search found 1353 matches

by deshipu
Sat Jul 14, 2018 1:33 pm
Forum: General Discussion and Questions
Topic: EuroPython 2018
Replies: 2
Views: 684

EuroPython 2018

Next week the EuroPython conference starts in Edinburgh — anybody coming? Should we have some sort of unofficial MicroPython meetup maybe? And do some hacking during the sprints?

I will be showing off some of my projects at a poster session on Thursday.
by deshipu
Tue Jul 10, 2018 10:00 pm
Forum: ESP32 boards
Topic: Micropython on Odroid Go?
Replies: 7
Views: 1579

Re: Micropython on Odroid Go?

I have tried both the loboris and the official ports, and they work fine. The loboris port can make use of the additional RAM chip, which is very nice.

I'm working on porting my game library to it, so that all the games made for µGame will also work on ODROID GO.
by deshipu
Fri Jul 06, 2018 11:39 pm
Forum: General Discussion and Questions
Topic: Accessing more than one ESP8266 thru the web remotely
Replies: 6
Views: 889

Re: Accessing more than one ESP8266 thru the web remotely

You can configure your router to forward ports on the external network to different IP addresses and ports on the internal network.

However, you probably don't want to have your ESP8266s exposed to the Internet as a whole like that. It's only a matter of time until some automated scanner finds it.
by deshipu
Mon Jul 02, 2018 9:43 am
Forum: Newsletter archive
Topic: MicroPython Newsletter Issue 1
Replies: 28
Views: 10580

Re: MicroPython Newsletter Issue 1

The prototypes have been thoroughly tested, the design is finalised, and initial versions of the PYBD are already being used in products in the field. Now it is down to the logistics of mass manufacture. If it's not too late, would it be possible to add silkscreen on the bottom describing the pins?
by deshipu
Mon Jul 02, 2018 9:36 am
Forum: Newsletter archive
Topic: MicroPython Newsletter Issue 1
Replies: 28
Views: 10580

Re: MicroPython Newsletter Issue 1

kwagyeman wrote:
Mon Jul 02, 2018 7:16 am
Most of our work was in software - we'd love to change the OpenMV Cam into a shield form factor use your module for the main board.
That would be utterly awesome, it would then be a drop-in replacement, and all the shields would fit too!
by deshipu
Wed Jun 20, 2018 7:17 pm
Forum: ESP32 boards
Topic: Odroid Go
Replies: 0
Views: 518

Odroid Go

There is a new ESP32 device, this time made by Odroid, and it's a handheld game console, but much bigger than the Pocket Sprite: https://wiki.odroid.com/odroid_go/odroid_go It looks like the version of my "stage" game library that I ported for M5Stack should work on this without any modifications (b...
by deshipu
Fri Jun 15, 2018 11:24 am
Forum: Development of MicroPython
Topic: Finaliser/__del__
Replies: 10
Views: 1494

Re: Finaliser/__del__

What would be situations in which it is not called ? It's implementation-dependent. In CPython 2.x it wouldn't get called if the object is a part of a cycle of references, for example — because it's then impossible to guess the correct order of destroying such objects, as the __del__ methods in the...
by deshipu
Fri Jun 15, 2018 11:01 am
Forum: General Discussion and Questions
Topic: How to free memory after unused imports?
Replies: 8
Views: 1193

Re: How to free memory after unused imports?

The more complex it is, the bigger a chance that you will have some reference to one of its variables or classes left somewhere. Especially when the module runs code on import, and not only defines some variables and classes.

Also, strings literals and variable names are interned and never released.
by deshipu
Thu Jun 14, 2018 5:54 pm
Forum: Development of MicroPython
Topic: Finaliser/__del__
Replies: 10
Views: 1494

Re: Finaliser/__del__

Note that __del__ is not guaranteed to be called, and when it's being called, it's not guaranteed that all the functions and variables you take for grated will still be available in memory.

If you need to call some code at the end of a scope, it's much better to use a context manager.