Skip to content

Commit 384e775

Browse files
Fix usage example
1 parent 90bbf38 commit 384e775

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
@@ -67,7 +67,7 @@ Usage Example
6767
import adafruit_sgp40
6868
6969
i2c = board.I2C() # uses board.SCL and board.SDA
70-
sgp = adafruit_sgp40(i2c)
70+
sgp = adafruit_sgp40.SGP40(i2c)
7171
7272
while True:
7373
print("Measurement: ", sgp.raw)

0 commit comments

Comments
 (0)