Correct comment in SPI_Multiple_Buses.ino (#2272)
The default SPI bus is VSPI (see libraries/SPI/src/SPI.cpp). This change corrects a misleading comment in a code example which was stating wrongly that HSPI would be the default one.
This commit is contained in:
parent
00e69a28bc
commit
812d131663
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
/* The ESP32 has four SPi buses, however as of right now only two of
|
/* The ESP32 has four SPi buses, however as of right now only two of
|
||||||
* them are available to use, HSPI and VSPI. Simply using the SPI API
|
* them are available to use, HSPI and VSPI. Simply using the SPI API
|
||||||
* as illustrated in Arduino examples will use HSPI, leaving VSPI unused.
|
* as illustrated in Arduino examples will use VSPI, leaving HSPI unused.
|
||||||
*
|
*
|
||||||
* However if we simply intialise two instance of the SPI class for both
|
* However if we simply intialise two instance of the SPI class for both
|
||||||
* of these buses both can be used. However when just using these the Arduino
|
* of these buses both can be used. However when just using these the Arduino
|
||||||
|
Loading…
Reference in New Issue
Block a user