Update commented pins in SPI Multi example
Update commented pins so people do not get confused and try to use them
This commit is contained in:
parent
9570b77abd
commit
900e0a0257
@ -32,13 +32,13 @@ void setup() {
|
|||||||
//SCLK = 18, MISO = 19, MOSI = 23, SS = 5
|
//SCLK = 18, MISO = 19, MOSI = 23, SS = 5
|
||||||
vspi->begin();
|
vspi->begin();
|
||||||
//alternatively route through GPIO pins of your choice
|
//alternatively route through GPIO pins of your choice
|
||||||
//hspi->begin(5,6,7,8); //SCLK, MISO, MOSI, SS
|
//hspi->begin(0, 2, 4, 33); //SCLK, MISO, MOSI, SS
|
||||||
|
|
||||||
//initialise hspi with default pins
|
//initialise hspi with default pins
|
||||||
//SCLK = 14, MISO = 12, MOSI = 13, SS = 15
|
//SCLK = 14, MISO = 12, MOSI = 13, SS = 15
|
||||||
hspi->begin();
|
hspi->begin();
|
||||||
//alternatively route through GPIO pins
|
//alternatively route through GPIO pins
|
||||||
//hspi->begin(1,2,3,4); //SCLK, MISO, MOSI, SS
|
//hspi->begin(25, 26, 27, 32); //SCLK, MISO, MOSI, SS
|
||||||
|
|
||||||
//set up slave select pins as outputs as the Arduino API
|
//set up slave select pins as outputs as the Arduino API
|
||||||
//doesn't handle automatically pulling SS low
|
//doesn't handle automatically pulling SS low
|
||||||
|
Loading…
Reference in New Issue
Block a user