Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change CS pin to D5 #44

Merged
merged 1 commit into from
Dec 11, 2024
Merged

change CS pin to D5 #44

merged 1 commit into from
Dec 11, 2024

Conversation

FoamyGuy
Copy link
Contributor

@ladyada
Resolves: #43

The guide page for BMP280 shows CS wired to D5:
image
image

The code snippets on that page match the wiring images and use D5

However full example code at the bottom of the page is embedded from the simpletest in this repo and it has CS pin set to D10 in the commented out section.

This changes both examples to use pin D5 for CS in the SPI setup section so that they will match the wiring and snippets shown on the guide page and updating it here will make the embedded version match the pin used on rest of the page.

@FoamyGuy FoamyGuy merged commit 9517905 into adafruit:main Dec 11, 2024
1 check passed
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Dec 12, 2024
Updating https://github.com/adafruit/Adafruit_CircuitPython_ADS7830 to 1.0.2 from 1.0.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_ADS7830#3 from FoamyGuy/fix_readme_example

Updating https://github.com/adafruit/Adafruit_CircuitPython_BMP280 to 3.3.4 from 3.3.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_BMP280#44 from FoamyGuy/simpletest_cs_pin

Updating https://github.com/adafruit/Adafruit_CircuitPython_ENS160 to 1.0.9 from 1.0.8:
  > Merge pull request adafruit/Adafruit_CircuitPython_ENS160#6 from jposada202020/adding_displayio_example

Updating https://github.com/adafruit/Adafruit_CircuitPython_HDC302x to 1.0.2 from 1.0.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_HDC302x#3 from FoamyGuy/remove_print

Updating https://github.com/adafruit/Adafruit_CircuitPython_ICM20X to 2.1.4 from 2.1.3:
  > Merge pull request adafruit/Adafruit_CircuitPython_ICM20X#28 from FoamyGuy/units_fix

Updating https://github.com/adafruit/Adafruit_CircuitPython_SI1145 to 1.2.2 from 1.2.1:
  > Merge pull request adafruit/Adafruit_CircuitPython_SI1145#22 from jposada202020/adding_displayio_example

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Updated download stats for the libraries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

I2C works, but SPI fails due to wrong chip id
2 participants