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

480x320 TFT/ILI9488 SPI wih EP32C3 (arduino-esp32) using Arduino_GFX Library

my dev.tools - FNIRSI 2C23T 3-in-1 Dual Channel Oscilloscope/Multimeter/Signal Generator