Ltr559 1.0.0 | Coderz Repository

ltr559 1.0.0

Last updated:

0 purchases

ltr559 1.0.0 Image
ltr559 1.0.0 Images

Free

Languages

Categories

Add to Cart

Description:

ltr559 1.0.0

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

Latest/development library from GitHub:

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

1.0.0

Repackage to latest boilerplate
Require i2cdevice>=1.0.0 (now using smbus2 instead of smbus)

0.1.1

Fix set_proximity_rate_ms, set_light_repeat_rate_ms and set_interrupt_mode (thanks @mkende)
Improve library comments & docstrings

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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.