Search found 6 matches

by evbaarle
Fri Sep 22, 2017 5:48 am
Forum: Development of MicroPython
Topic: Documentation update request cntl-I key
Replies: 5
Views: 1177

Re: Documentation update request cntl-I key

Hi, @mwm: I never realised that cntl-I is the same as tab, was just trying all cntl+key combinations. Maybe still good the inform the users that you can 'auto-complete' an empty line to get a list of the globals by pressing tab as this is not very intuitive (for me). @deshipu: I don't have a build s...
by evbaarle
Tue Sep 19, 2017 5:30 am
Forum: Development of MicroPython
Topic: Documentation update request cntl-I key
Replies: 5
Views: 1177

Documentation update request cntl-I key

Hi,

could someone update the documentation regarding the function of the cntl+I key combination in REPL-mode giving a list of all the globals?
I think it is a very usefull feature that every micropython user should be aware of.

Regards, Erik
by evbaarle
Sun Apr 23, 2017 6:40 am
Forum: General Discussion and Questions
Topic: How to obtain a list of importable modules?
Replies: 21
Views: 7301

Re: How to obtain a list of importable modules?

Hi Dave, Just what I was looking for, but unfortunately my board and the online board at http://micropython.org/live/ both give this reply, whatever string literal i give as argument, maybe because I have the lite version of the pyboard or is this a bug? MicroPython v1.8.6-273-g5efd650 on 2016-12-31...
by evbaarle
Sat Apr 22, 2017 10:01 am
Forum: MicroPython pyboard
Topic: pyboard with a VGA display
Replies: 9
Views: 4280

Re: pyboard with a VGA display

Very interesting.
What hardware/chip are you using to generate the VGA signals?
What time does a clear screen/ the most time consuming operation take?
by evbaarle
Sat Apr 22, 2017 9:57 am
Forum: General Discussion and Questions
Topic: How to obtain a list of importable modules?
Replies: 21
Views: 7301

How to obtain a list of importable modules?

I have not been able to find a micropython command to get a list of all the modules that are included in the micropython firmware running on my board.
Brute force trying might be an option, or parsing the build configuration parameters, but I assume a more elegant method is available.
by evbaarle
Tue Mar 14, 2017 6:40 am
Forum: Development of MicroPython
Topic: %string formatting on decimal zero bug
Replies: 2
Views: 1006

%string formatting on decimal zero bug

While porting a CPYTHON program to Micropython I noticed this difference:

MicroPython v1.8.6-273-g5efd650 on 2016-12-31; PYBLITEv1.0 with STM32F411RE
Type "help()" for more information.
>>> '%+02d'% (0)
'00'

Cpython will respond with '+0'
{} formatting shows the same error.

Regards, Erik