Search found 86 matches

by aivarannamaa
Wed Nov 25, 2020 5:02 pm
Forum: General Discussion and Questions
Topic: Using webrepl instead of USB connection with Thonny IDE
Replies: 24
Views: 2151

Re: Using webrepl instead of USB connection with Thonny IDE

Unfortunately, it's not very stable for me. Using a TinyPICO ESP32. Some things not working for me: - Run current script - Start/stop To make code changes, I have to first save, and then restart the board (ctrl-d). Also frequently have to restart Thonny. Please report the bugs at https://github.com...
by aivarannamaa
Fri Nov 20, 2020 5:42 pm
Forum: General Discussion and Questions
Topic: Using webrepl instead of USB connection with Thonny IDE
Replies: 24
Views: 2151

Re: Using webrepl instead of USB connection with Thonny IDE

laukejas wrote:
Fri Nov 20, 2020 5:02 pm
Perhaps this functionality could be something you might consider for the future versions of Thonny, if it's not too difficult to implement?
I added this to my TODO list: https://github.com/thonny/thonny/issues/1439
by aivarannamaa
Fri Nov 20, 2020 3:58 pm
Forum: General Discussion and Questions
Topic: Using webrepl instead of USB connection with Thonny IDE
Replies: 24
Views: 2151

Re: Using webrepl instead of USB connection with Thonny IDE

Pressing "Open system shell" opens the shell, but I don't think WebREPL is running. All I'm seeing is plain command line, waiting for regular inputs, not like WebREPL. Am I missing some dependency or something? Oops, I forgot that we were talking about WebREPL. In this case I can't offer any work-a...
by aivarannamaa
Fri Nov 20, 2020 6:49 am
Forum: General Discussion and Questions
Topic: Using webrepl instead of USB connection with Thonny IDE
Replies: 24
Views: 2151

Re: Using webrepl instead of USB connection with Thonny IDE

I don't fully understand everything that you guys here discussed, so I'm kind of unsure - so, what is the best way to go around sending direct keystrokes via Thonny to ESP? Unfortunately there is no way for it. What you can do is * use Thonny for saving your code to main.py * select "Tools => Open ...
by aivarannamaa
Mon Nov 16, 2020 11:24 am
Forum: General Discussion and Questions
Topic: Using webrepl instead of USB connection with Thonny IDE
Replies: 24
Views: 2151

Re: Using webrepl instead of USB connection with Thonny IDE

The characters get sent directly. This is what allows things like tab completion to work on the REPL. Indeed. I never thought about tab-completion and arrow up/down, but now I understand that it must work like this. I assume you mean sys.stdin.read though? Yes, my mistake. How does Thonny avoid the...
by aivarannamaa
Sun Nov 15, 2020 6:43 am
Forum: General Discussion and Questions
Topic: Using webrepl instead of USB connection with Thonny IDE
Replies: 24
Views: 2151

Re: Using webrepl instead of USB connection with Thonny IDE

How does Thonny's shell work differently to, say, screen or miniterm.py? Is it line buffered? Yes, I think this is the right term for this. It doesn't send anything to the back-end until you press ENTER. Actually, I thought that the same happens with terminal emulator + screen/tio/miniterm. Doesn't...
by aivarannamaa
Sat Nov 14, 2020 8:45 pm
Forum: General Discussion and Questions
Topic: Using webrepl instead of USB connection with Thonny IDE
Replies: 24
Views: 2151

Re: Using webrepl instead of USB connection with Thonny IDE

So there is absolutely no way to send keystrokes to a microcontroller over WiFi? I'm not entirely sure, but I don't know how. In a terminal emulator you probably can send combinations with Ctrl -- eg. Ctrl+F should send byte 0x06 (smaller values are special for MicroPython REPL). I haven't tried it...
by aivarannamaa
Fri Nov 13, 2020 10:18 pm
Forum: General Discussion and Questions
Topic: Using webrepl instead of USB connection with Thonny IDE
Replies: 24
Views: 2151

Re: Using webrepl instead of USB connection with Thonny IDE

Nope, Thonny's Shell does not support capturing keystrokes. Actually, I don't see how you could capture keystrokes in MicroPython even if you were using a proper terminal emulator. > Far fewer exceptions that in the previous build I tried Do you mean misbehaviors of Thonny? Please report them at htt...
by aivarannamaa
Wed Nov 11, 2020 11:47 am
Forum: General Discussion and Questions
Topic: rshell error in handling file system
Replies: 7
Views: 533

Re: rshell error in handling file system

@manos, please check whether you can access files with Thonny IDE (https://github.com/thonny/thonny/releases/tag/v3.3.0b7): * Once you have installed and launched Thonny, click on the lower-right corner of the window and select MicroPython back-end * Select "View => Files" * Upload/download commands...
by aivarannamaa
Fri Nov 06, 2020 12:25 pm
Forum: Programs, Libraries and Tools
Topic: a problem with thonny or µPython???
Replies: 3
Views: 356

Re: a problem with thonny or µPython???

BL007 wrote:
Fri Nov 06, 2020 10:33 am
If you are in Thuringia the next time, I owe you:
Wow! I'll keep this in mind :)