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

    Unable to receive 2 information

    Scheduled Pinned Locked Moved Comments & Feedback
    lopy
    1 Posts 1 Posters 630 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.
    • M Offline
      MJ
      last edited by

      Hi there, i am new to lopy as well. Currently i wish to get the information from 2 (lopy+expansion board) to received by the another (lopy+pytrack board) but i only manage to received only 1 information.

      For Lopy+Pytrack Board (For receiving information)
      0_1518509513927_forum 1.JPG
      0_1518509555989_forum2.JPG

      For Lopy+Expansion Board (transmit information)
      0_1518509695797_lopy1 forum.JPG

      For Lopy + Expansion Board (Transmit information)
      0_1518509730941_lopy2 forum.JPG

      • i using IF statement but yet i only can received the 1 information instead of 2 information provided the first IF statement is true.
      • i also tried to make it as comment for the either 1 of the receiving 'D' or 'E' it can only show the information that i want. (also displaying 1 information)
      • i also use ELIF statement but it cannot received any things.

      Result :

      1. Running full coding :
        0_1518510982227_reunning full coding.JPG

      2. Running with only Lopy+Expansion (power up for B where only B connected) :
        0_1518511031450_ForumResult_OnlyB.JPG

      3. Running with only Lopy+Expansion (power up for C where only C connected) :
        0_1518511072353_ForumResult_OnlyC.JPG

      4. Running only C with the "#' of B :
        0_1518511144657_ForumResult_CommentB.JPG

      May i know how can i solve this kind of problem? I have struggle for weeks to try out this and that but still in vain. Thanks in advance. :)

      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