Skip to content

Change TinyS2 default SPI pins #4887

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

Merged
merged 1 commit into from
Jun 14, 2021
Merged

Change TinyS2 default SPI pins #4887

merged 1 commit into from
Jun 14, 2021

Conversation

mcauser
Copy link

@mcauser mcauser commented Jun 14, 2021

Leading on from #4534
pins.c was previously updated, but there was also a reference in mpconfigboard.h that was missed.

SCK = 37
SDI = 36
SDO = 35

@mcauser
Copy link
Author

mcauser commented Jun 14, 2021

@UnexpectedMaker FYI

@mcauser
Copy link
Author

mcauser commented Jun 14, 2021

Explains why this was working:

spi = busio.SPI(clock=board.SCK, MISO=board.MISO, MOSI=board.MOSI)

but this was not:

spi = board.SPI()

Copy link
Collaborator

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dhalbert dhalbert merged commit b151bee into adafruit:main Jun 14, 2021
@mcauser mcauser deleted the tinys2spi branch June 14, 2021 23:30
@UnexpectedMaker
Copy link

Thanks heaps @mcauser and thanks for the quick approval @dhalbert !

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.

3 participants