We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98444be commit d5b9b1cCopy full SHA for d5b9b1c
libraries/SPI/SPI.cpp
@@ -247,3 +247,6 @@ void SPIClass::detachInterrupt() {
247
#if SPI_INTERFACES_COUNT > 0
248
SPIClass SPI (NRF_SPI0, PIN_SPI_MISO, PIN_SPI_SCK, PIN_SPI_MOSI);
249
#endif
250
+#if SPI_INTERFACES_COUNT > 1
251
+SPIClass SPI1(NRF_SPI1, PIN_SPI1_MISO, PIN_SPI1_SCK, PIN_SPI1_MOSI);
252
+#endif
libraries/SPI/SPI.h
@@ -136,6 +136,9 @@ void SPIClass::transfer(void *buf, size_t count)
136
137
extern SPIClass SPI;
138
139
140
+extern SPIClass SPI1;
141
142
143
// For compatibility with sketches designed for AVR @ 16 MHz
144
// New programs should use SPI.beginTransaction to set the SPI clock
0 commit comments