Update README.rst
Fixes Issue #36 (https://github.com/adafruit/Adafruit_CircuitPython_BME280/issues/36)
This commit is contained in:
parent
87e54ce603
commit
e224735f69
1 changed files with 2 additions and 0 deletions
|
|
@ -68,6 +68,8 @@ Usage Example
|
|||
# Create library object using our Bus I2C port
|
||||
i2c = busio.I2C(board.SCL, board.SDA)
|
||||
bme280 = adafruit_bme280.Adafruit_BME280_I2C(i2c)
|
||||
#or with other sensoe address
|
||||
bme280 = adafruit_bme280.Adafruit_BME280_I2C(i2c, address=0x76)
|
||||
|
||||
# OR create library object using our Bus SPI port
|
||||
#spi = busio.SPI(board.SCK, board.MOSI, board.MISO)
|
||||
|
|
|
|||
Loading…
Reference in a new issue