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
Post a Comment