Skip to content

pimoroni/ltr559-python

Repository files navigation

LTR559 Proximity/Presence/Light Sensor

Build Status Coverage Status PyPi Package Python Versions

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 python3 -m pip install ltr559

Latest/development library from GitHub:

  • git clone https://github.com/pimoroni/ltr559-python
  • cd ltr559-python
  • ./install.sh --unstable