Skip to content
This repository was archived by the owner on Dec 20, 2024. It is now read-only.

Commit 55ac0e1

Browse files
committed
first commit
1 parent 778dd18 commit 55ac0e1

3 files changed

Lines changed: 2 additions & 7 deletions

File tree

README.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,3 @@ Take a look at the examples directory
8989
Documentation
9090
=============
9191
API documentation for this library can be found on `Read the Docs <https://micropython-bmp581.readthedocs.io/en/latest/>`_.
92-

examples/bmp581_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111

1212
while True:
1313
print("Pressure: {:.2f}kPa".format(bmp.pressure))
14-
time.sleep(0.5)
14+
time.sleep(0.5)

micropython_bmp581/bmp581.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
from micropython import const
1717
from micropython_bmp581.i2c_helpers import CBits, RegisterStruct
1818

19-
try:
20-
from typing import Tuple
21-
except ImportError:
22-
pass
23-
2419

2520
__version__ = "0.0.0+auto.0"
2621
__repo__ = "https://github.com/jposada202020/MicroPython_BMP581.git"
@@ -59,6 +54,7 @@
5954
OSR128,
6055
)
6156

57+
6258
class BMP581:
6359
"""Driver for the BMP581 Sensor connected over I2C.
6460

0 commit comments

Comments
 (0)