Skip to main content

Python library for the LTR559 light and proximity

Project description

LTR559 Proximity/Presence/Light Sensor
======================================

|Build Status| |Coverage Status| |PyPi Package| |Python Versions|

Suitable for detecting proximity of an object at close range the LTR559
is great for approach detection and ambient light compensation. The
range is useful to around 2cm, and this is the type of sensor you might
find in a smartphone to determine if you're holding it against your
head.

Installing
==========

Stable library from PyPi:

- Just run ``sudo pip install ltr559``

Latest/development library from GitHub:

- ``git clone https://github.com/pimoroni/ltr559-python``
- ``cd ltr559-python``
- ``sudo ./install.sh``

.. |Build Status| image:: https://travis-ci.com/pimoroni/ltr559-python.svg?branch=master
:target: https://travis-ci.com/pimoroni/ltr559-python
.. |Coverage Status| image:: https://coveralls.io/repos/github/pimoroni/ltr559-python/badge.svg?branch=master
:target: https://coveralls.io/github/pimoroni/ltr559-python?branch=master
.. |PyPi Package| image:: https://img.shields.io/pypi/v/ltr559.svg
:target: https://pypi.python.org/pypi/ltr559-python
.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/ltr559.svg
:target: https://pypi.python.org/pypi/ltr559-python
0.0.2
-----

* Added default light-sensor options
* Fixed bugs & linted

0.0.1
-----

* Initial Release


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ltr559-0.0.2.tar.gz (6.4 kB view hashes)

Uploaded Source

Built Distributions

ltr559-0.0.2-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

ltr559-0.0.2-py2-none-any.whl (7.0 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page