From 2a3d158b62401bc20e4943b2144583e5b6048579 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Wed, 11 Dec 2024 10:46:20 -0600 Subject: [PATCH] change CS pin to D5 --- examples/bmp280_normal_mode.py | 2 +- examples/bmp280_simpletest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/bmp280_normal_mode.py b/examples/bmp280_normal_mode.py index bc1babb..e2ac59c 100644 --- a/examples/bmp280_normal_mode.py +++ b/examples/bmp280_normal_mode.py @@ -17,7 +17,7 @@ # OR Create sensor object, communicating over the board's default SPI bus # spi = busio.SPI() -# bmp_cs = digitalio.DigitalInOut(board.D10) +# bmp_cs = digitalio.DigitalInOut(board.D5) # bmp280 = adafruit_bmp280.Adafruit_BMP280_SPI(spi, bmp_cs) # change this to match the location's pressure (hPa) at sea level diff --git a/examples/bmp280_simpletest.py b/examples/bmp280_simpletest.py index e2b138a..8af6f62 100644 --- a/examples/bmp280_simpletest.py +++ b/examples/bmp280_simpletest.py @@ -16,7 +16,7 @@ # OR Create sensor object, communicating over the board's default SPI bus # spi = board.SPI() -# bmp_cs = digitalio.DigitalInOut(board.D10) +# bmp_cs = digitalio.DigitalInOut(board.D5) # bmp280 = adafruit_bmp280.Adafruit_BMP280_SPI(spi, bmp_cs) # change this to match the location's pressure (hPa) at sea level