Skip to content

Commit 9517905

Browse files
authored
Merge pull request #44 from FoamyGuy/simpletest_cs_pin
change CS pin to D5
2 parents 2651d73 + 2a3d158 commit 9517905

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/bmp280_normal_mode.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# OR Create sensor object, communicating over the board's default SPI bus
1919
# spi = busio.SPI()
20-
# bmp_cs = digitalio.DigitalInOut(board.D10)
20+
# bmp_cs = digitalio.DigitalInOut(board.D5)
2121
# bmp280 = adafruit_bmp280.Adafruit_BMP280_SPI(spi, bmp_cs)
2222

2323
# change this to match the location's pressure (hPa) at sea level

examples/bmp280_simpletest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# OR Create sensor object, communicating over the board's default SPI bus
1818
# spi = board.SPI()
19-
# bmp_cs = digitalio.DigitalInOut(board.D10)
19+
# bmp_cs = digitalio.DigitalInOut(board.D5)
2020
# bmp280 = adafruit_bmp280.Adafruit_BMP280_SPI(spi, bmp_cs)
2121

2222
# change this to match the location's pressure (hPa) at sea level

0 commit comments

Comments
 (0)