Skip to content

Commit 71e84e4

Browse files
Merge pull request #7 from jposada202020/master
veryfing_references
2 parents 1e17623 + d272ba2 commit 71e84e4

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

README.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ 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_ahtx0
6767
6868
# Create sensor object, communicating over the board's default I2C bus
69-
i2c = board.I2C()
69+
i2c = board.I2C() # uses board.SCL and board.SDA
7070
sensor = adafruit_ahtx0.AHTx0(i2c)
7171
7272
while True:

adafruit_ahtx0.py

+7-4
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,17 @@
1616
1717
**Hardware:**
1818
19-
* This is a library for the Adafruit AHT20 Temperature & Humidity Sensor breakout:
20-
https://www.adafruit.com/product/4566
19+
* `Adafruit AHT20 Temperature & Humidity Sensor breakout:
20+
<https://www.adafruit.com/product/4566>`_ (Product ID: 4566)
2121
2222
**Software and Dependencies:**
2323
2424
* Adafruit CircuitPython firmware for the supported boards:
25-
https://github.com/adafruit/circuitpython/releases
26-
* Adafruit's Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
25+
https://circuitpython.org/downloads
26+
27+
* Adafruit's Bus Device library:
28+
https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
29+
2730
"""
2831

2932
import time

examples/ahtx0_simpletest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import adafruit_ahtx0
1111

1212
# Create sensor object, communicating over the board's default I2C bus
13-
i2c = board.I2C()
13+
i2c = board.I2C() # uses board.SCL and board.SDA
1414
sensor = adafruit_ahtx0.AHTx0(i2c)
1515

1616
while True:

0 commit comments

Comments
 (0)