Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    upload problem

    Scheduled Pinned Locked Moved GPy
    19 Posts 3 Posters 112 Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      kjm @robert-hh
      last edited by

      @robert-hh

      >>> ls('lib')
         7621 onewire.py
      
      4,056k free
      

      awesome!

      1 Reply Last reply Reply Quote 0
      • K Offline
        kjm @robert-hh
        last edited by kjm

        @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?

        robert-hhR 1 Reply Last reply Reply Quote 0
        • robert-hhR Offline
          robert-hh @kjm
          last edited by robert-hh

          @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

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            kjm @robert-hh
            last edited by

            @robert-hh huh?

            robert-hhR 1 Reply Last reply Reply Quote 0
            • robert-hhR Offline
              robert-hh @kjm
              last edited by

              @kjm Updated, see below. Just a glitch in the browser.

              K 1 Reply Last reply Reply Quote 0
              • K Offline
                kjm @robert-hh
                last edited by

                @robert-hh So if I can find the right terminal environment

                from pye_mp import pye; pye('main.py')
                

                should work?

                robert-hhR 1 Reply Last reply Reply Quote 0
                • robert-hhR Offline
                  robert-hh @kjm
                  last edited by

                  @kjm Yes. On Windows, teraterm is also a good choice.

                  K 1 Reply Last reply Reply Quote 0
                  • K Offline
                    kjm @robert-hh
                    last edited by

                    @robert-hh Some rubbish characters

                    dtl¬ðûZÓëBg
                    

                    in TeraTerm VT when I press the reset button on the GPY but it's a start I guess.

                    robert-hhR 1 Reply Last reply Reply Quote 0
                    • robert-hhR Offline
                      robert-hh @kjm
                      last edited by robert-hh

                      @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.

                      K 1 Reply Last reply Reply Quote 0
                      • K Offline
                        kjm @robert-hh
                        last edited by kjm

                        @robert-hh Nice & it's got a scroll slider which is more than I can say for pymakr.

                        1 Reply Last reply Reply Quote 0

                        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
                        • 1 / 1
                        • First post
                          Last post

                        Pycom on Twitter

                        Pycom