Search found 258 matches

by platforma
Mon Oct 17, 2016 8:40 am
Forum: ESP8266 boards
Topic: slightly odd behaviour with WLAN.config()?
Replies: 1
Views: 2310

Re: slightly odd behaviour with WLAN.config()?

You might have hit a bug. There's no limit to changing the APs as far as I know. I will try to reproduce the issue this evening.
by platforma
Tue Oct 11, 2016 3:36 pm
Forum: ESP8266 boards
Topic: Support loading of .mpy files
Replies: 13
Views: 20621

Re: Support loading of .mpy files

There is a PR by Damien: https://github.com/micropython/micropython/pull/2502
That introduces this for the esp8266, I would expect it to be merged into the master fairly soon.
by platforma
Wed Oct 05, 2016 12:13 pm
Forum: General Discussion and Questions
Topic: Resetting bytearray
Replies: 13
Views: 13679

Re: Resetting bytearray

At least not from what I tried on unix port:

Code: Select all

>>> arr = bytearray([1,2,3])
>>> arr
bytearray(b'\x01\x02\x03')
>>> id(arr)
140355047877312
>>> arr[:] = b'0' * len(arr)
>>> arr
bytearray(b'000')
>>> id(arr)
140355047877312
by platforma
Wed Oct 05, 2016 11:12 am
Forum: General Discussion and Questions
Topic: Resetting bytearray
Replies: 13
Views: 13679

Re: Resetting bytearray

One more option is

Code: Select all

arr[:] = b'0' * len(arr)
by platforma
Fri Sep 30, 2016 8:25 am
Forum: MicroPython pyboard
Topic: support for built-in function vars()
Replies: 19
Views: 13603

Re: support for built-in function vars()

The topics are now merged.
by platforma
Fri Sep 30, 2016 8:20 am
Forum: General Discussion and Questions
Topic: Vote for Micropython in pycharm
Replies: 2
Views: 3456

Re: Vote for Micropython in pycharm

Would be great to have some degree of support in pycharm, with debugger on linux. All the make instructions for deployment however can be added to the build commands already. Don't they have multiple interpreters support already? Why did you have to rename the binary into "python"?
by platforma
Thu Sep 29, 2016 3:59 pm
Forum: MicroPython pyboard
Topic: support for built-in function vars()
Replies: 19
Views: 13603

Re: Error while using __get__ in a class

Perhaps a description of what object, of which class, from which module you're trying to use etc., would be helpful. A short description of what your code is trying to achieve and a code snippet would be of even more assistance! It is difficult to say what you're trying to do just from what you've w...
by platforma
Thu Sep 29, 2016 10:39 am
Forum: ESP8266 boards
Topic: How to get free space of internal file system?
Replies: 13
Views: 25671

Re: How to get free space of internal file system?

Just to give an update. The uos.statvfs() implementation has been merged in https://github.com/micropython/micropyt ... 5c2c95dd50
by platforma
Thu Sep 29, 2016 10:23 am
Forum: Development of MicroPython
Topic: MicroPython on Alpine Linux
Replies: 1
Views: 2865

Re: MicroPython on Alpine Linux

What exactly does it fail with? Can you show the command line output?