Skip to content

veyfing_references #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,13 +59,13 @@ To install in a virtual environment in your current project:
Usage Example
=============

.. code-block:: python
.. code-block:: python3

import time
import board
import adafruit_pct2075

i2c = board.I2C()
i2c = board.I2C() # uses board.SCL and board.SDA
pct = adafruit_pct2075.PCT2075(i2c)

while True:
Expand Down
9 changes: 6 additions & 3 deletions adafruit_pct2075.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,20 @@

**Hardware:**

* Adafruit PCT2075 Temperature Sensor Breakout: https://www.adafruit.com/products/4369
* `Adafruit PCT2075 Temperature Sensor Breakout
<https://www.adafruit.com/products/4369>`_ (Product ID: 4369)

**Software and Dependencies:**

* Adafruit CircuitPython firmware for the supported boards:
https://circuitpython.org/downloads

* Adafruit's Bus Device library:
https://github.com/adafruit/Adafruit_CircuitPython_BusDevice

* Adafruit's Register library:
https://github.com/adafruit/Adafruit_CircuitPython_Register

* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
* Adafruit's Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register
"""

from adafruit_register.i2c_struct import ROUnaryStruct, UnaryStruct
Expand Down
2 changes: 1 addition & 1 deletion examples/pct2075_high_temp_alert_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import board
import adafruit_pct2075

i2c = board.I2C()
i2c = board.I2C() # uses board.SCL and board.SDA
pct = adafruit_pct2075.PCT2075(i2c)

pct.high_temperature_threshold = 35.5
Expand Down
2 changes: 1 addition & 1 deletion examples/pct2075_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import board
import adafruit_pct2075

i2c = board.I2C()
i2c = board.I2C() # uses board.SCL and board.SDA
pct = adafruit_pct2075.PCT2075(i2c)

while True:
Expand Down