Skip to content

Commit

Permalink
Merge pull request #69 from rwmanos/patch-1
Browse files Browse the repository at this point in the history
Improve SPI commented examples
  • Loading branch information
tannewt authored Jul 25, 2024
2 parents 0baf6d0 + 1b46222 commit 183e7b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/bme280_normal_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# OR create sensor object, using the board's default SPI bus.
# SPI setup
# from digitalio import DigitalInOut
# import digitalio
# spi = board.SPI()
# bme_cs = digitalio.DigitalInOut(board.D10)
# bme280 = adafruit_bme280.Adafruit_BME280_SPI(spi, bme_cs)
Expand Down
1 change: 1 addition & 0 deletions examples/bme280_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
bme280 = adafruit_bme280.Adafruit_BME280_I2C(i2c)

# OR create sensor object, using the board's default SPI bus.
# import digitalio
# spi = board.SPI()
# bme_cs = digitalio.DigitalInOut(board.D10)
# bme280 = adafruit_bme280.Adafruit_BME280_SPI(spi, bme_cs)
Expand Down

0 comments on commit 183e7b4

Please sign in to comment.