I discovered the digilent basic I/O shield on their site while I was searching for information on how I could wire up my OLED to the chipKIT Max32. While I was checking it out, I noticed that it had a 128x32 OLED already on the board. A closer look revealed that the display is an SSD1306!
At first I looked at the schematic for the shield, but I couldn't figure out how it was wired up. Mostly likely it was me that was reading it wrong. So I turned to the libraries and looked at the defines to see what pins were being used. After matching up the ports/bits with a table showing all available on the Max32, it was a snap.
And the sweet thing is, the libraries do not need any modification. Not even the example demo sketches. I modified the message text for this post of course.
Also included with the libraries is a graphics support. Lines, circles, blocks, etc. Lots to play with!
I tied CS to ground via a 10k resistor as it is in the basic I/O shield schematic. I also connected the grounds, and Vin to 5v out on the Max32, thinking it would brighten the display but it didn't. 3v3 works just as well.
More when I code it. At least now I know it works. Sweet!
Basic I/O Shield libraries - PAGE DOWNLOAD