Python library for the LTR559 light and proximity
Project description
LTR559 Proximity/Presence/Light Sensor
Suitable for detecting proximity of an object at close range the LTR-559 is great for approach detection and ambient light compensation. The range is useful to around 5cm, 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 pip3 install ltr559
Latest/development library from GitHub:
git clone https://github.com/pimoroni/ltr559-python
cd ltr559-python
sudo ./install.sh
0.1.0
- Breaking API change to class for CircuitPython compatibility
- Port to new i2cdevice set/get API
0.0.4
- Removed rogue print() of reset status
0.0.3
- Fix PyPi readme formatting
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.1.1.tar.gz
(8.8 kB
view details)
Built Distributions
File details
Details for the file ltr559-0.1.1.tar.gz
.
File metadata
- Download URL: ltr559-0.1.1.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 635b66897130dc77bb8907dc4223588ddba72043df62f31454d5f0d0a2b1cafe |
|
MD5 | 00514412f1442f67970793a671e1fd3c |
|
BLAKE2b-256 | 9f53ef066529b79acbb5d44f6bf4d73dbc5b0e9d1b84760ec063f4c8ee5c9910 |
File details
Details for the file ltr559-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: ltr559-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 671e08e9ae1cd8063dfb8f0fc2ea47a9010649af5b65c40e92a332aff99996f6 |
|
MD5 | 59ac6f5b96b38500d6c986203d7efc9e |
|
BLAKE2b-256 | 34271e93c077ecf10fbafe7fda188de77105c54afba3457e70f881f2929eeec1 |
File details
Details for the file ltr559-0.1.1-py2-none-any.whl
.
File metadata
- Download URL: ltr559-0.1.1-py2-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1339b92f315d6afcb6a66c2c80ef669cc159c6b8e0f93e53e15d19e75e33640e |
|
MD5 | 2dbd7733416ec613f7b7a71879e64787 |
|
BLAKE2b-256 | 5acd0be4bc7769bb1287d9f09174dcffa579c4603443f6acb19cfd965cb1321c |