Control-Surface icon indicating copy to clipboard operation
Control-Surface copied to clipboard

ESP32 Display on SSD1306 (SPI 7wire)

Open Gandrasg opened this issue 3 years ago • 2 comments

Hi ttapa!

Testing this code: Control-Surface/examples/7.Displays/MCU-OLED-SSD1306/MCU-OLED-SSD1306.ino on my ESP32. I can see that the code has not been tested on ESP32, only on Teensy. Do you know that you have successfully applied it to ESP32? Give me this error:

_"exit status 1
'class SPIClass' has no member named 'setMOSI' "_

Gandrasg avatar Dec 12 '20 20:12 Gandrasg

You can just leave out the line with the setMOSI statement. It's a Teensy-specific function that selects an alternative SPI pin, you probably don't need to do that (only if there are conflicts with other pins you want to use).

tttapa avatar Dec 15 '20 11:12 tttapa

I understand. Thanks, I'm going to do it.

Gandrasg avatar Dec 17 '20 15:12 Gandrasg