ESP32C3/MicroPython - the default SPI pins

To list the default SPI pins in MicroPython:

>>> import machine
>>> spi=machine.SPI(1)
>>> print(spi)
SPI(id=1, baudrate=500000, polarity=0, phase=0, bits=8, firstbit=0, sck=6, mosi=7, miso=2)
>>> 
Tested on ESP32C3:



Comments

Popular posts from this blog

MicroPython/ESP32-C3 + 1.8" 128x160 TFT ST7735 SPI, using boochow/MicroPython-ST7735 library.

CameraWebServe: ESP32-S3 (arduino-esp32) + OV5640 camera module