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

    Uploading libraries to FiPy

    Scheduled Pinned Locked Moved Discussion
    pysensefipylibrary
    3 Posts 3 Posters 1.1k Views 3 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
      mylescai
      last edited by mylescai

      Hello, I'm new to PyCom devices, having mostly programmed MCUs in C (haven't used Python much either). I'm having a little trouble getting started with the PySense. The instructions say "The various .py files should be placed into the /lib folder on the device." but I can't access the device's folders from my computer. The FiPy doesn't show up on My Computer, only in Device Manager as a COM port. I've tried on both a Windows 10 and an OS X machine. The firmware on the PySense and FiPy have both been updated to the latest versions, and I can get the FiPy to do all the RGB LED stuff in the console in Atom with the PyMakr Plugin.

      I just can't figure out how to upload the libraries so that I can access the sensors on the PySense board. Any help is appreciated.

      J robert-hhR 2 Replies Last reply Reply Quote 0
      • J Offline
        jcaron @mylescai
        last edited by

        @mylescai If you're using Atom + Pymakr, just add a lib folder to your project, put the required files into it, and click on the Upload button.

        An alternative is to use FTP (if you use Wi-Fi), which gives you more control. There are also a few other packages that enable syncing files over USB.

        1 Reply Last reply Reply Quote 0
        • robert-hhR Offline
          robert-hh @mylescai
          last edited by robert-hh

          @mylescai You can access the file system of your FiPy using ftp. Have a look at chapter 2.4 of the documentation: https://docs.pycom.io/chapter/toolsandfeatures/FTP.html
          That should also be possible in PyMakr. The primary obstacle is, that you might have to set the IP setting of your computers wifi temporarily to use the FiPy's access point. Later, you can reconfigure the FiPy to use your home network as a Station.

          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