-
Couldn't load subscription status.
- Fork 66
Closed
Description
I'm using the last version from git with arduino 1.8.9 on ESP32
#define sclk 18
#define mosi 23
#define rst 26
#define dc 27
#define cs 25
#define miso 19 // unused except for HWSPI init
#pragma message "Using SWSPI"
Adafruit_SSD1331 display = Adafruit_SSD1331(cs, dc, mosi, sclk, rst);
//#pragma message "Using ESP32 SPI"
//#include "SPI.h"
//SPIClass tftSPI(VSPI);
//Adafruit_SSD1331 display = Adafruit_SSD1331(&tftSPI, cs, dc, rst);
(...)
display.begin();
display.setAddrWindow(0, 0, 96, 64);
Serial.println("setAddrWindow");
display.fillScreen(LED_WHITE_HIGH);
display.show();
Serial.println("first show done"); << when hang, this never gets displayed
The code works as is but is slow due to SWSPI.
Adafruit_SSD1331(cs, dc, rst); hangs as soon as I run display.show()
Adafruit_SSD1331(&SPI, cs, dc, rst) hangs too
and the full definition of tftSPI using VSPI default pins, also hangs.
Metadata
Metadata
Assignees
Labels
No labels