Skip to content

Commit bc0c12e

Browse files
author
Nathan Seidle
committed
Add a few comments.
1 parent 220cad8 commit bc0c12e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/SPI/examples/Example2_MoreSPIPorts/Example2_MoreSPIPorts.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ SPISettings mySettings(SPI_SPEED, SPI_ORDER, SPI_MODE);
1717

1818
const char *msg = "Hello world!";
1919

20-
//SPIClass SPI(); //This is default and automatically defined on RedBoard/ATP/Nano. Uses pads 5/6/7 (SCK/MISO/MOSI).
21-
SPIClass SPI1(1); //Use IO Master 1 on pads 8/9/10
20+
//SPIClass SPI(); //This is default and automatically defined on RedBoard/ATP/Nano. Access using pins labeled SCK/MISO/MOSI (connects to pads 5/6/7 on module).
21+
SPIClass SPI1(1); //Use IO Master 1 on pads 8/9/10. See schematic of your board for pin locations.
2222
// SPIClass mySPI(2); //Use IO Master 2 on pads 27/25/28
2323
// SPIClass anotherSPI(3); //Use IO Master 3 on pads 42/43/44
2424
// SPIClass SPI4(4); //Use IO Master 4 on pads 39/40/38

0 commit comments

Comments
 (0)