Skip to content

Commit 9a33248

Browse files
committed
Prep for v0.0.4
1 parent 0763452 commit 9a33248

File tree

4 files changed

+20
-2
lines changed

4 files changed

+20
-2
lines changed

examples/test.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import smbus2
2+
import time
3+
4+
bus = smbus2.SMBus(1)
5+
6+
while True:
7+
bus.write_byte_data(0x57, 0x03, 0x02)
8+
bus.write_byte_data(0x57, 0x21, 0x01)
9+
while bus.read_byte_data(0x57, 0x01) == 0:
10+
print("Waiting...")
11+
time.sleep(0.5)
12+
print("read")
13+

library/CHANGELOG.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
0.0.4
2+
-----
3+
4+
* Bugfix: fix timeout bug in get_temperature(), requires i2cdevice>=0.0.7
5+
16
0.0.3
27
-----
38

library/max30105/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import time
66

77

8-
__version__ = '0.0.3'
8+
__version__ = '0.0.4'
99

1010
CHIP_ID = 0x15
1111
I2C_ADDRESS = 0x57

library/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
setup(
4141
name='max30105',
42-
version='0.0.3',
42+
version='0.0.4',
4343
author='Philip Howard',
4444
author_email='phil@pimoroni.com',
4545
description="""Python library for the MAX30105 Smoke/Pulse Detector""",

0 commit comments

Comments
 (0)