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

Commit

Permalink
examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jposada202020 committed Jun 22, 2023
1 parent bcb5281 commit 8c36d30
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/mcp9808_hysteresis.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@
temp = mcp.temperature
print("Temperature: {:.2f}C".format(temp))
time.sleep(0.5)
mcp.hysteresis = hysteresis
1 change: 1 addition & 0 deletions examples/mcp9808_power_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@
temp = mcp.temperature
print("Temperature: {:.2f}C".format(temp))
time.sleep(0.5)
mcp.power_mode = power_mode
1 change: 1 addition & 0 deletions examples/mcp9808_temperature_resolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@
temp = mcp.temperature
print("Temperature: {:.2f}C".format(temp))
time.sleep(0.5)
mcp.temperature_resolution = temperature_resolution

0 comments on commit 8c36d30

Please sign in to comment.