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

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.0.3.tar.gz (6.4 kB view details)

Uploaded Source

Built Distributions

ltr559-0.0.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

ltr559-0.0.3-py2-none-any.whl (7.0 kB view details)

Uploaded Python 2

File details

Details for the file ltr559-0.0.3.tar.gz.

File metadata

  • Download URL: ltr559-0.0.3.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

Hashes for ltr559-0.0.3.tar.gz
Algorithm Hash digest
SHA256 17f879a04a174e12bb2ffe9fee095d6d4ba60fee77d7070f4561d14d4b6297c3
MD5 8ee5364a87316c8e940e047ed90c07ef
BLAKE2b-256 fa60f62fd294d90c31306163443440eb5c32e80cfca8a1e9ba6e2fa6a6cc445c

See more details on using hashes here.

File details

Details for the file ltr559-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: ltr559-0.0.3-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

Hashes for ltr559-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d14573d00344f92750b439b3f2bd5a575fa9daa338afadf55febcb8f989c36c6
MD5 0b8d22726ebf4997684fb62efa6ff6f2
BLAKE2b-256 295fec037cccecc539ba2c8f6656ca5a5f7f8fe52ba6a620574c568026801b48

See more details on using hashes here.

File details

Details for the file ltr559-0.0.3-py2-none-any.whl.

File metadata

  • Download URL: ltr559-0.0.3-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

Hashes for ltr559-0.0.3-py2-none-any.whl
Algorithm Hash digest
SHA256 d8c132a4c4cd0e9a6a15901153b73878e4c96b63fd9250981925f98726fb560d
MD5 77f9a77b97b02965ae2de428533c7caf
BLAKE2b-256 07003d7feb3af632eb08fd9ba50e58865f489bb6a25a5746022d33c9fbafa4e3

See more details on using hashes here.

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