upload problem
-
@kjm after importing * from upysh, there is a command 'man' to list all commands, there is 'ls' or 'ls (name)' to list files, and a few more unix shell like commands.
-
-
@robert-hh I tried to use that editor in your build
upysh is intended to be imported using: from upysh import * To see this help text again, type "man". upysh commands: pwd, cd("new_dir"), ls, ls(...), head(...), cat(...), hd(...) newfile(...), mv("old", "new"), rm(...), mkdir(...), rmdir(...) clear <dir> cert <dir> lib <dir> sys 29 boot.py 34 main.py 262 project.pymakr 4,056k free >>> from pye_mp import pye >>> pye('main.py')but the prompt vanishes after the pye('main.py') line. Should it work OK in Atom like upysh? If so can you see what I'm doing wrong?
-
@kjm The editor requires a terminal with vt100 support. The terminal window of pymakr may not be suitable for that. Try applications like Putty on Windows, screen or picocom on OS X or picocom or tio on Linux.
The documentation is in the repository: https://github.com/robert-hh/Micropython-Editor
-
@robert-hh huh?
-
@kjm Updated, see below. Just a glitch in the browser.
-
@robert-hh So if I can find the right terminal environment
from pye_mp import pye; pye('main.py')should work?
-
@kjm Yes. On Windows, teraterm is also a good choice.
-
@robert-hh Some rubbish characters
dtl¬ðûZÓëBgin TeraTerm VT when I press the reset button on the GPY but it's a start I guess.
-
@kjm You have to configure the UART port to 115200 baud 8N1. But rubbish on start after reset is normal. You should get a good prompt after that.
-
@robert-hh Nice & it's got a scroll slider which is more than I can say for pymakr.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login