Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jposada202020 committed May 14, 2023
1 parent f04f76b commit f597f3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tmp117.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# SPDX-FileCopyrightText: Copyright (c) 2020 Bryan Siepert for Adafruit Industries, 2023 Jose D. Montoya
# SPDX-FileCopyrightText: Copyright (c) 2020 Bryan Siepert for Adafruit Industries
# SPDX-FileCopyrightText: Copyright (c) 2023 Jose D. Montoya
#
# SPDX-License-Identifier: MIT
"""
Expand Down Expand Up @@ -141,7 +142,6 @@ def initialize(self):
configuration"""
# Datasheet specifies that reset will finish in 2ms however by default the first
# conversion will be averaged 8x and take 1s
# TODO: sleep depending on current averaging config
self._set_mode_and_wait_for_measurement(_CONTINUOUS_CONVERSION_MODE) # one shot
time.sleep(1)

Expand Down

0 comments on commit f597f3e

Please sign in to comment.