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

    Pybytes Terminal shows data out of order

    Scheduled Pinned Locked Moved Support & Troubleshooting
    terminalpybyteslopy4
    2 Posts 2 Posters 341 Views 2 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.
    • D Offline
      dnear1
      last edited by

      Has anyone else noticed that when sending commands in PyBytes via the Terminal tab, the data returned is often out of order?
      I'm using the latest firmware on a LoPy4, 1.18.2. when trying to display things like i2c.scan() or WLAN().ipconfig(), I get a response but the characters are all out of order and don't make any sense sometimes.
      AFAIK, this was operational prior to the 1.18.2 firmware update?
      Here's one example of the output

      >>>i2c=I2C(0,pins=("P9","P10"))
      >>>i2c.init(I2C.MASTER,baudrate=9600)
      >>>print(i2c.scan())
      ,
      [
      57
      ,
      64
      >>>print(i2c.scan())
      ,
      [
      57
      ,
      64
      >>>print(i2c.scan())
      ,
      ]
      [
      57
      ,
      64
      >>>print(i2c.scan())
      ,
      ]
      [
      57
      ,
      64
      >>>
      

      And here's IPconfig

      >>>from network import WLAN
      >>>wlan-WLAN()
      Exception:
      NameError("name 'wlan' is not defined",)
      >>>wlan=WLAN()
      >>>print(WLAN().ifconfig())
      .
      1
      .
      0
      (
      '
      1
      0
      8
      ,
      5
      2
      5
      5
      .
      5
      '
      0
      .
      .
      1
      1
      '
      1
      0
      .
      .
      )
      >>>
      
      1 Reply Last reply Reply Quote 0
      • P Offline
        Paul Thornton
        last edited by

        Ive pointed the correct people at this thread. one of them should be able to answer soon :)

        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