We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e6c6c95 + 7d2f794 commit 19b32e1Copy full SHA for 19b32e1
README.rst
@@ -44,8 +44,8 @@ Next, initialize the I2C bus object:
44
45
.. code-block:: python
46
47
- from board import *
48
- i2c_bus = busio.I2C(board.SCL, board.SDA, frequency=100000)
+ import board
+ i2c_bus = busio.I2C(board.SCL, board.SCL, frequency=100000)
49
50
Since we have the I2C bus object, we can now use it to instantiate the SGP30 object:
51
@@ -116,4 +116,4 @@ Now, once you have the virtual environment activated:
116
117
This will output the documentation to ``docs/_build/html``. Open the index.html in your browser to
118
view them. It will also (due to -W) error out on any warning like Travis will. This is a good way to
119
-locally verify it will pass.
+locally verify it will pass.
0 commit comments