Skip to content

Commit 900e0a0

Browse files
authored
Update commented pins in SPI Multi example
Update commented pins so people do not get confused and try to use them
1 parent 9570b77 commit 900e0a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/SPI/examples/SPI_Multiple_Buses/SPI_Multiple_Buses.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ void setup() {
3232
//SCLK = 18, MISO = 19, MOSI = 23, SS = 5
3333
vspi->begin();
3434
//alternatively route through GPIO pins of your choice
35-
//hspi->begin(5,6,7,8); //SCLK, MISO, MOSI, SS
35+
//hspi->begin(0, 2, 4, 33); //SCLK, MISO, MOSI, SS
3636

3737
//initialise hspi with default pins
3838
//SCLK = 14, MISO = 12, MOSI = 13, SS = 15
3939
hspi->begin();
4040
//alternatively route through GPIO pins
41-
//hspi->begin(1,2,3,4); //SCLK, MISO, MOSI, SS
41+
//hspi->begin(25, 26, 27, 32); //SCLK, MISO, MOSI, SS
4242

4343
//set up slave select pins as outputs as the Arduino API
4444
//doesn't handle automatically pulling SS low

0 commit comments

Comments
 (0)