Update README.rst

Fixes Issue #36 (https://github.com/adafruit/Adafruit_CircuitPython_BME280/issues/36)
This commit is contained in:
JanHBade 2020-06-14 13:16:26 +02:00 committed by GitHub
parent 87e54ce603
commit e224735f69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)