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

    Difficulty in running the basic drivers from PyCom...

    Scheduled Pinned Locked Moved Getting Started
    wipy3.0pysense
    3 Posts 2 Posters 405 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.
    • S Offline
      SafariAl
      last edited by SafariAl

      For reference, I am running a WiPy 3.0 with a Pysense expansion board. I tried to run the basic example that allows you to manipulate the various sensors the Pysense.

      I put the modules from the default Pysense examples on the Pycom github (link here: https://github.com/pycom/pycom-libraries/tree/master/pysense) into the lib folder on the device. I also found pycoproc.py and added that as well. However, I keep getting ImportErrors. When I added lib. prefixes to all of the given imports, I found that it recognized the modules but still could not import the driver classes within those modules. I also keep getting this weird symbol ╝> returned whenever I try to run main.py. Any thoughts?0_1547710933285_Library issue.png0_1547754377719_main.png

      1 Reply Last reply Reply Quote 0
      • P Offline
        Paul Thornton
        last edited by

        Could you post your main.py as well, Ill take a look :)

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          SafariAl @Paul Thornton
          last edited by

          @paul-thornton Just did. :)

          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