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

Uploaded Source

Built Distributions

ltr559-0.0.4-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

ltr559-0.0.4-py2-none-any.whl (7.1 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: ltr559-0.0.4.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.12.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.13

File hashes

Hashes for ltr559-0.0.4.tar.gz
Algorithm Hash digest
SHA256 6114945f39672f87b327c780ba87af5c961b9ce8a05f10da60ec328f9d168062
MD5 08d3668017a1631d7e584cc49aae633e
BLAKE2b-256 86dd7e292cd67b481b718368f819c88278b649fdd69b7b4f0015bed59f98e487

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ltr559-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.12.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.13

File hashes

Hashes for ltr559-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ef163039ae005d93005b9011b5d34ae4c39123d032310c4f923b1254aa8da7a6
MD5 b6dc1d40da7e9ea62b32d5fcecfafbb8
BLAKE2b-256 515ac894c519157769d03ad1829f9f81e00fed02a334bfee0d0db6c17b72a73f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ltr559-0.0.4-py2-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.12.4 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.13

File hashes

Hashes for ltr559-0.0.4-py2-none-any.whl
Algorithm Hash digest
SHA256 850c6d7d93485731e8a2b0a87aab0a59a31bda654936169581d2f8512affd0f2
MD5 90b30fab2fd26d57308cb345244fb5ea
BLAKE2b-256 8473c748f9e346e6f9345c31fa6ed84ec725f3cb9755cab291f6fcfae190ce67

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