未验证 提交 900e0a02 编写于 作者: M Me No Dev 提交者: GitHub

Update commented pins in SPI Multi example

Update commented pins so people do not get confused and try to use them
上级 9570b77a
...@@ -32,13 +32,13 @@ void setup() { ...@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册