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-hypernode.com/pypi/ltr559-python
.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/ltr559.svg
:target: https://pypi-hypernode.com/pypi/ltr559-python
0.0.2
-----
* Added default light-sensor options
* Fixed bugs & linted
0.0.1
-----
* Initial Release
======================================
|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-hypernode.com/pypi/ltr559-python
.. |Python Versions| image:: https://img.shields.io/pypi/pyversions/ltr559.svg
:target: https://pypi-hypernode.com/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 details)
Built Distributions
File details
Details for the file ltr559-0.0.2.tar.gz
.
File metadata
- Download URL: ltr559-0.0.2.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e2c07ba254047d33af45de6e2da7d7da1f8264f841a6ba06f74c10168429949 |
|
MD5 | 671e879f2c86dcddae2bcac8435415d9 |
|
BLAKE2b-256 | 8f65cba06a76bce06b1cd2e3aae91a18373ad008e59b7537c28237f2d3cb4606 |
File details
Details for the file ltr559-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: ltr559-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 701eaa32a2fde0b90466dc5099cf2a054d1e70daa66926c8ef243e82075dd842 |
|
MD5 | 050060f4d3a39ed5d3e409a5fb338a17 |
|
BLAKE2b-256 | ce77520efbb787a863bc9d26e7e045c5a32df9fdce0059fbd5f86489621b218d |
File details
Details for the file ltr559-0.0.2-py2-none-any.whl
.
File metadata
- Download URL: ltr559-0.0.2-py2-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb30d359232f305b66b185a6de4316265f069c969273af2121c59f4b15e76455 |
|
MD5 | 334eb2c388cb2c1f19c428d4cf9e8d91 |
|
BLAKE2b-256 | 3da92178c64fbe5f11261811060c23a1edf880c11f1680b15be9ab39d06123bf |