Skip to content

Commit c3db83c

Browse files
authored
Merge pull request #18 from jposada202020/veryfing_references
veyfing_references
2 parents 786ec19 + 146487f commit c3db83c

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,13 @@ To install in a virtual environment in your current project:
5959
Usage Example
6060
=============
6161

62-
.. code-block:: python
62+
.. code-block:: python3
6363
6464
import time
6565
import board
6666
import adafruit_pct2075
6767
68-
i2c = board.I2C()
68+
i2c = board.I2C() # uses board.SCL and board.SDA
6969
pct = adafruit_pct2075.PCT2075(i2c)
7070
7171
while True:

adafruit_pct2075.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,20 @@
1616
1717
**Hardware:**
1818
19-
* Adafruit PCT2075 Temperature Sensor Breakout: https://www.adafruit.com/products/4369
19+
* `Adafruit PCT2075 Temperature Sensor Breakout
20+
<https://www.adafruit.com/products/4369>`_ (Product ID: 4369)
2021
2122
**Software and Dependencies:**
2223
2324
* Adafruit CircuitPython firmware for the supported boards:
2425
https://circuitpython.org/downloads
2526
27+
* Adafruit's Bus Device library:
28+
https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
2629
30+
* Adafruit's Register library:
31+
https://github.com/adafruit/Adafruit_CircuitPython_Register
2732
28-
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
29-
* Adafruit's Register library: https://github.com/adafruit/Adafruit_CircuitPython_Register
3033
"""
3134

3235
from adafruit_register.i2c_struct import ROUnaryStruct, UnaryStruct

examples/pct2075_high_temp_alert_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import board
66
import adafruit_pct2075
77

8-
i2c = board.I2C()
8+
i2c = board.I2C() # uses board.SCL and board.SDA
99
pct = adafruit_pct2075.PCT2075(i2c)
1010

1111
pct.high_temperature_threshold = 35.5

examples/pct2075_simpletest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import board
66
import adafruit_pct2075
77

8-
i2c = board.I2C()
8+
i2c = board.I2C() # uses board.SCL and board.SDA
99
pct = adafruit_pct2075.PCT2075(i2c)
1010

1111
while True:

0 commit comments

Comments
 (0)