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

    Where can I download a working tsl2591 library?

    Scheduled Pinned Locked Moved LoPy
    tsl2591 library
    3 Posts 3 Posters 501 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.
    • J Offline
      jimmie
      last edited by

      Re: CAN SPI Device and I2C Device Co-Operate on one LoPy?

      Can anyone send me the library tsl2591 and the main.py for this example?

      I am using with a i2C LCD (not SPI).

      Thanks in advance.

      danD 1 Reply Last reply Reply Quote 0
      • danD Offline
        dan @jimmie
        last edited by

        @jimmie It looks like this library: https://github.com/jfischer/micropython-tsl2591

        I don't think you'll be able to get the main.py since that post is 2 years old.

        1 Reply Last reply Reply Quote 0
        • E Offline
          Eric73
          last edited by

          @jimmie
          In the thread you link to your post the authors use SPI for SSD1306 LCD, if you need code to use your LCD via IIC here you can found informations
          https://forum.pycom.io/topic/3900/object-with-buffer-protocol-required

          I sugest you to explain if the both component are on the same IIC bus pin or not, and if you have already selected a tsl2591 python library to use with your project. After these two step done we can help you to modify one or both library to work on the same i2c instance. (if you have different i2c bus it's very simple).

          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