Skip to content

Commit

Permalink
Merge pull request #84 from MrYsLab/dht_pin_dup
Browse files Browse the repository at this point in the history
Issue #83 Resolution
  • Loading branch information
MrYsLab authored May 11, 2024
2 parents 3e472bf + c9d3542 commit 38998ab
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/Contributed/flow_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,4 +104,4 @@ def digital_in_pullup(my_board, pin):
board.disable_digital_reporting(DIGITAL_PIN)
board.shutdown()
sys.exit(0)

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ find = {} # Scan the project directory with the default parameters

[project]
name = "telemetrix"
version = "1.39"
version = "1.40"
authors = [
{ name="Alan Yorinks", email="[email protected]" },
]
Expand Down
2 changes: 1 addition & 1 deletion telemetrix/private_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class PrivateConstants:
FEATURES = 20
DEBUG_PRINT = 99

TELEMETRIX_VERSION = "1.39"
TELEMETRIX_VERSION = "1.40"

# reporting control
REPORTING_DISABLE_ALL = 0
Expand Down
9 changes: 5 additions & 4 deletions telemetrix/telemetrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,9 @@ def i2c_read(self, address, register, number_of_bytes,
callback returns a data list:
[I2C_READ_REPORT, address, register, count of data bytes,
data bytes, time-stamp]
[I2C_READ_REPORT, i2c_port, number of bytes read, address, register,
bytes read..., time-stamp]
"""

Expand Down Expand Up @@ -597,8 +598,8 @@ def i2c_read_restart_transmission(self, address, register,
callback returns a data list:
[I2C_READ_REPORT, address, register, count of data bytes,
data bytes, time-stamp]
[I2C_READ_REPORT, i2c_port, number of bytes read, address, register,
bytes read..., time-stamp]
"""

Expand Down

0 comments on commit 38998ab

Please sign in to comment.