QUERY · ISSUE
docs: machine.SDCard: clarify, which SPI device is used
docs
I am using this code here:
sd = machine.SDCard(slot=SD_SLOT,
width=SD_WIDTH,
sck=SD_SCK_PIN,
mosi=SD_MOSI_PIN,
miso=SD_MISO_PIN,
cs=SD_CS,
freq=SD_FREQ)
However it's not clear, which hardware SPI device is used.
I am using the ESP32-S3 (quad SPIRAM). It seems that SPI id=2 is used.
Is it possible to clarify this on the documentation? Or even let the user specify a parameter?
CANDIDATE · PULL REQUEST
Fixed bug in SPI card suport
port-esp32
Fixed a cut-and-paste error that had broken SPI interface support due to changes in the handling of slot numbers.
Also corrected typo in documentation resulting from the move of the SDCard class from the putative storage module to machine.