Skip to content

Commit e3b3cae

Browse files
authored
Merge pull request #15 from djmbritt/patch-1
Update README example.
2 parents 374a660 + 067999d commit e3b3cae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Next, initialize the I2C bus object:
7070
.. code-block:: python
7171
7272
import board
73-
i2c_bus = busio.I2C(board.SCL, board.SCL, frequency=100000)
73+
i2c_bus = busio.I2C(board.SCL, board.SDA frequency=100000)
7474
7575
Since we have the I2C bus object, we can now use it to instantiate the SGP30 object:
7676

0 commit comments

Comments
 (0)