Search found 117 matches

by aivarannamaa
Fri Apr 09, 2021 11:54 am
Forum: General Discussion and Questions
Topic: pyboard issue from jetson nano to LEGO 51515
Replies: 4
Views: 113

Re: pyboard issue from jetson nano to LEGO 51515

I don't have this device myself, but a Thonny user also reported problems with it and the error message was somewhat similar (https://github.com/thonny/thonny/issues/1702). Perhaps LEGO's MicroPython has some quirks. I'd be happy if you tried connecting to your hub via Thonny (https://thonny.org): *...
by aivarannamaa
Wed Mar 24, 2021 10:30 am
Forum: MicroPython pyboard
Topic: How to set Thonny?
Replies: 1
Views: 160

Re: How to set Thonny?

It looks like your Thonny is in "Heap mode", which is a mode for demonstrating references.

You can turn it off by unselecting "Heap" from the "View" menu.
by aivarannamaa
Sun Mar 21, 2021 6:56 am
Forum: Raspberry Pi microcontroller boards
Topic: asm_pio error when working in Thonny - Shell
Replies: 2
Views: 245

Re: asm_pio error when working in Thonny - Shell

It looks like Thonny's bug. Please report it at https://github.com/thonny/thonny/issues/new and let's continue our discussion there. Also, please tell your OS, whether you are able to run some other programs and whether you can evaluate expressions in the Shell.
by aivarannamaa
Wed Mar 17, 2021 7:40 am
Forum: Raspberry Pi microcontroller boards
Topic: Cannot get access to /dev/ttyACM0
Replies: 11
Views: 1069

Re: Cannot get access to /dev/ttyACM0

@garnold, which distro and which version are you using? Please also tell your screen resolution You could try different font scaling mode at "Tools => Options => General". Please let me know, whether you had success or not. I've seen such reports before (https://github.com/thonny/thonny/issues/1113)...
by aivarannamaa
Fri Mar 12, 2021 7:30 am
Forum: Raspberry Pi microcontroller boards
Topic: Cannot get access to /dev/ttyACM0
Replies: 11
Views: 1069

Re: Cannot get access to /dev/ttyACM0

From the screenshot I see that you have older Thonny, which doesn't know about Pico. The "MicroPython (generic)" back-end together with the port it's showing, should work, though. If you want newer Thonny, then you can `apt remove thonny` and install a Thonny+Python bundle with following command: ba...
by aivarannamaa
Thu Mar 11, 2021 8:15 am
Forum: Raspberry Pi microcontroller boards
Topic: Problem using 2 identical delays (with sleep()) in main & in thread
Replies: 1
Views: 390

Re: Problem using 2 identical delays (with sleep()) in main & in thread

I have also met problems with Pico threads (https://github.com/micropython/micropython/issues/6899), so I suspect the threading support isn't very robust yet. When you are testing different parameters, then make sure you hard reset your device between tests. I've been scratching my head a lot by alt...
by aivarannamaa
Thu Mar 11, 2021 8:09 am
Forum: Raspberry Pi microcontroller boards
Topic: main.py isn't running when Pico connected to external power
Replies: 6
Views: 923

Re: main.py isn't running when Pico connected to external power

ssfel wrote:
Mon Mar 08, 2021 10:25 am
At the moment I'm doing;
Save As --> Raspberry Pi Pico --> "main.py", save
This should do.

Does it start running again when you reconnect USB? Can it be powering issue?
by aivarannamaa
Thu Mar 11, 2021 7:51 am
Forum: Raspberry Pi microcontroller boards
Topic: Cannot get access to /dev/ttyACM0
Replies: 11
Views: 1069

Re: Cannot get access to /dev/ttyACM0

@garnold, do I understand correctly that `/dev/ttyACM0` is present but Thonny simply doesn't see it? Please select the default back-end in Thonny (button at the lower-right corner) and try following commands on the Python 3 REPL: Python 3.7.9 (bundled) >>> import serial.tools.list_ports as lp >>> lp...
by aivarannamaa
Tue Feb 23, 2021 8:09 am
Forum: ESP32 boards
Topic: Micropython V1.14 Problem
Replies: 7
Views: 917

Re: Micropython V1.14 Problem

A regression was introduced in Thonny 3.3.4 (object evaluation in the REPL gave too short capped repr-s). A fix is now published in 3.3.5: https://github.com/thonny/thonny/releases/tag/v3.3.5
by aivarannamaa
Mon Feb 22, 2021 9:02 am
Forum: General Discussion and Questions
Topic: Starting coding
Replies: 5
Views: 424

Re: Starting coding

If you downloaded a sd-card image from Lego site, then you should start with https://pybricks.github.io/ev3-micropython/index.html If you downloaded the image from Ev3Dev site, then you probably have a bit different MicroPython API. At the moment I wasn't able to find the documentation for this vari...