Skip to content

Commit

Permalink
Bump version and fix readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gadgetoid committed Nov 8, 2023
1 parent a5c9592 commit e8aff0d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,9 @@
1.0.0
-----

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

0.1.1
-----

Expand Down
6 changes: 3 additions & 3 deletions README.md
@@ -1,9 +1,9 @@
# LTR559 Proximity/Presence/Light Sensor

[![Build Status](https://shields.io/github/workflow/status/pimoroni/ltr559-python/Python%20Tests.svg)](https://github.com/pimoroni/ltr559-python/actions/workflows/test.yml)
[![Build Status](https://img.shields.io/github/actions/workflow/status/pimoroni/ltr559-python/test.yml?branch=main)](https://github.com/pimoroni/ltr559-python/actions/workflows/test.yml)
[![Coverage Status](https://coveralls.io/repos/github/pimoroni/ltr559-python/badge.svg?branch=master)](https://coveralls.io/github/pimoroni/ltr559-python?branch=master)
[![PyPi Package](https://img.shields.io/pypi/v/ltr559.svg)](https://pypi.python.org/pypi/ltr559-python)
[![Python Versions](https://img.shields.io/pypi/pyversions/ltr559.svg)](https://pypi.python.org/pypi/ltr559-python)
[![PyPi Package](https://img.shields.io/pypi/v/ltr559.svg)](https://pypi.python.org/pypi/ltr559)
[![Python Versions](https://img.shields.io/pypi/pyversions/ltr559.svg)](https://pypi.python.org/pypi/ltr559)

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.

Expand Down
2 changes: 1 addition & 1 deletion ltr559/__init__.py
Expand Up @@ -4,7 +4,7 @@
from i2cdevice import BitField, Device, Register
from i2cdevice.adapter import Adapter, LookupAdapter, U16ByteSwapAdapter

__version__ = "0.1.1"
__version__ = "1.0.0"

I2C_ADDR = 0x23
PART_ID = 0x09
Expand Down

0 comments on commit e8aff0d

Please sign in to comment.