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

    Pytrack, usb serial communication and REPL

    Scheduled Pinned Locked Moved Getting Started
    uartreplusbpytrack
    1 Posts 1 Posters 1.1k Views 1 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.
    • O Offline
      ozeta
      last edited by

      Hi, I have a Wipy2

      >>> os.uname()
      (sysname='WiPy', nodename='WiPy', release='1.7.7.b1', version='v1.8.6-715-g5fa16c2c on 2017-07-20', machine='WiPy with ESP32')
      

      when I plug it on the expansion board i can access it from /dev/ttyUSB0.

      when I plug it to the Pytrack,there is no ttyUSB0, but a /dev/ttyACM0

      is this the correct port? I tried reading/writing the device and it works, but i don't know if there can be any problems.

      As the matter of fact I d'like to use the usb uart without repl, using the pytrack as a sensor server, writing on the serial the data it generates every second.

      however, everytime I read from the serial, I get not only the things I write into the serial, but the complete repl "output", with ">>>" and so on.

      Is it possible to deactivate it on usb and have it only on wifi?

      my boot.py is this:

      uart = UART(0, baudrate=115200)
      # os.dupterm(uart)
      

      so i though that the repl was disabled, but that's not working

      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