tttapa / Control-Surface

Arduino library for creating MIDI controllers and other MIDI devices.
GNU General Public License v3.0
1.2k stars 136 forks source link

ESP32 Display on SSD1306 (SPI 7wire) #359

Open Gandrasg opened 3 years ago

Gandrasg commented 3 years ago

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' "_
tttapa commented 3 years ago

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).

Gandrasg commented 3 years ago

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