TSL2591 on BeagleBone Black
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- medhat
- Posts: 1
- Joined: Sat Jun 06, 2015 5:46 am
TSL2591 on BeagleBone Black
Hi I'm new to electronics and I have a couple of questions. I bought the "Adafruit TSL2591 High Dynamic Range Digital Light Sensor" and I'm trying to connect it to my beagle bone black. Following the instructions on (https://learn.adafruit.com/adafruit-tsl2591) seems pretty straight forward and I installed the Adafruit_BBIO python library and that seems to be working fine. Now I'm stuck with the Adafruit_TSL2591 and Adafruit_Sensor libraries. I cloned them using git on by beaglebone but I have no clue how to proceed from here. Do these libraries need to be in a specific location? Can I even use these libraries in python? Is there a tutorial somewhere of how to use Adafruit libraries on beagle bone black?
- adafruit_support_mike
- Posts: 67446
- Joined: Thu Feb 11, 2010 2:51 pm
Re: TSL2591 on BeagleBone Black
There should be an example script with the TSL2591 library. That will show you how to use both the device and the code.
Python does use libraries, and the standard way to reference one is to put:
in the script.
Python does use libraries, and the standard way to reference one is to put:
Code: Select all
include library_name
Please be positive and constructive with your questions and comments.