Search found 109 matches

by aivarannamaa
Tue Feb 23, 2021 8:09 am
Forum: ESP32 boards
Topic: Micropython V1.14 Problem
Replies: 7
Views: 565

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: 209

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...
by aivarannamaa
Thu Feb 18, 2021 8:52 am
Forum: ESP32 boards
Topic: Micropython V1.14 Problem
Replies: 7
Views: 565

Re: Micropython V1.14 Problem

Thonny 3.3.4 is now released, including the work-around regarding the WebREPL issue in MicroPython 1.14:
https://github.com/thonny/thonny/releases/tag/v3.3.4
by aivarannamaa
Wed Feb 17, 2021 11:28 am
Forum: ESP32 boards
Topic: Micropython V1.14 Problem
Replies: 7
Views: 565

Re: Micropython V1.14 Problem

Joker, this problem has been reported at https://github.com/micropython/micropython/issues/6912.

Next Thonny version (hopefully released by the end of this week) will include a work-around.
by aivarannamaa
Sat Feb 13, 2021 10:49 am
Forum: Raspberry Pi microcontroller boards
Topic: Running two Pico's from the same computer.
Replies: 4
Views: 310

Re: Running two Pico's from the same computer.

Thonny allows you to specify a specific port instead of detecting the port automatically. If you need two instances of Thonny, then there is an option to allow this at Tools => Options => General.
by aivarannamaa
Mon Feb 08, 2021 3:09 pm
Forum: Other Boards
Topic: I can't see files that exist on the Pico with explorer
Replies: 6
Views: 286

Re: I can't see files that exist on the Pico with explorer

However, I created a Directory on the Pico but then could not figure out how to get the file into that directory. Do you mean moving files around on Pico? Thonny does not have an UI for this, but you should be able to use os.rename for this. If you meant uploading files into specific directory on P...
by aivarannamaa
Mon Feb 08, 2021 12:55 pm
Forum: Other Boards
Topic: I can't see files that exist on the Pico with explorer
Replies: 6
Views: 286

Re: I can't see files that exist on the Pico with explorer

I choose Pico and it lists files that I had written and saved, apparently on the Pico? That seems to contradict what you said that USB storage is only used for the bootloader. And how would my scripts run for imbedded projects if they weren't on board? Your scripts are on the device, they simply ar...
by aivarannamaa
Thu Feb 04, 2021 1:14 pm
Forum: Raspberry Pi microcontroller boards
Topic: micropip returned with error code 1
Replies: 4
Views: 277

Re: micropip returned with error code 1

arj, Thonny 3.3 shows tabs with different background, so if a piece of whitespace has different background from the rest (beige in the default light scheme), then it's a tab. Feel free to suggest features at https://github.com/thonny/thonny/issues/new and let's keep this forum for topics related to ...
by aivarannamaa
Wed Feb 03, 2021 7:52 pm
Forum: Raspberry Pi microcontroller boards
Topic: micropip returned with error code 1
Replies: 4
Views: 277

Re: micropip returned with error code 1

Most likely this PyPI package is not meant for MicroPython. Currently Thonny uses micropip.py (https://github.com/peterhinch/micropython-samples/blob/master/micropip/micropip.py), which assumes the package is specifically made for MicroPython (https://docs.micropython.org/en/latest/reference/package...
by aivarannamaa
Mon Feb 01, 2021 2:38 pm
Forum: General Discussion and Questions
Topic: How to join threads?
Replies: 2
Views: 175

How to join threads?

Is there a built-in support for waiting a thread to complete in MicroPython (eg. on ESP32 or RPi Pico)? If not, then can you recommend a technique for achieving this? Something less ugly than sleeping in a loop and checking a shared flag? My goal is to recommend a work-around for Thonny users, who g...