Compare commits
5 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
25c8977b2c | ||
|
|
394cb7aa22 | ||
|
|
1a70659082 | ||
|
|
0b9d6f69e3 | ||
|
|
e224735f69 |
1 changed files with 3 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ Introduction
|
|||
:alt: Documentation Status
|
||||
|
||||
.. image :: https://img.shields.io/discord/327254708534116352.svg
|
||||
:target: https://discord.gg/nBQh6qu
|
||||
:target: https://adafru.it/discord
|
||||
:alt: Discord
|
||||
|
||||
.. image:: https://github.com/adafruit/Adafruit_CircuitPython_BME280/workflows/Build%20CI/badge.svg
|
||||
|
|
@ -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 sensor 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