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

    Lopy to Lopy via WiFi

    Scheduled Pinned Locked Moved LoPy
    3 Posts 2 Posters 280 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.
    • P Offline
      p.m.97
      last edited by

      Hi,

      I’m developing a software that connect two lopy4 and let them communicate via WiFi. I want to test them directly from my computer (so without use another computer or an external battery), but when I connect both the lopy’s on my computer, I cannot use them in parallel beacuse I can not choose which one has to run Sender code and whick one has to run Client code. How can I do that? I didn’t find any solution

      1 Reply Last reply Reply Quote 0
      • S Offline
        sarthak04
        last edited by

        Hey! You can just upload the codes in main.py on the lopy separately , one at a time. After you're done uploading, just plug them one by one, the LoPy will run the main.py automatically as soon as it is powered.

        P 1 Reply Last reply Reply Quote 0
        • P Offline
          p.m.97 @sarthak04
          last edited by

          @sarthak04 Thanks! Now I have a problem with socket, so I will open a new thread :)

          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