Skip to content

Comments

Use an instance of SPI that can be more easily customized#31

Open
lukecyca wants to merge 2 commits intojamesbowman:masterfrom
craftmetrics:custom-spi
Open

Use an instance of SPI that can be more easily customized#31
lukecyca wants to merge 2 commits intojamesbowman:masterfrom
craftmetrics:custom-spi

Conversation

@lukecyca
Copy link

The ESP32 has multiple SPI busses, which can be configured during instantiation of the Arduino SPI API as per the Arduino SPI example.

This pull request changes all calls to SPI.method() to instead use a globally-instantiated instance like spi->method(). This allows one to more easily change what SPI bus is used.

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.

1 participant