Does the ESP32-C3 have hardware SPI?
Looking at the pinout
https://docs.espressif.com/projects/esp ... pinout.jpg
I see no MISO MOSI SCLK pins.
I am trying to run the Adafruit SSD1306 sample here, with HW SPI.
https://github.com/adafruit/Adafruit_SS ... 64_spi.ino
SPI on ESP32-C3
Re: SPI on ESP32-C3
Ah, OK.
I see that the IDE defines the symbol
SCK / MISO / MOSI as 4 / 5 / 6
Using that the Adafruit SSD1306 works fine, and can use the default SPI object.
NOTE: It would be useful to add those to the pin-out diagram of the ESP32-C3-DevKitM-1.
I see that the IDE defines the symbol
SCK / MISO / MOSI as 4 / 5 / 6
Using that the Adafruit SSD1306 works fine, and can use the default SPI object.
NOTE: It would be useful to add those to the pin-out diagram of the ESP32-C3-DevKitM-1.
Who is online
Users browsing this forum: No registered users and 94 guests