OLED Pin Connections

Hey Roy (Love your username, btw!)

I have a pod as well. I initially tested my OLED screen without making any changes to libdaisy. I just used the Olearia code from CarlColglazier’s github (GitHub - CarlColglazier/Olearia: modular applets for the daisy patch).

He’s using the “daisy_patch.h” header file, but using the connections I noted above it should still display the main screen - so you can make sure you have all the pins connected correctly. (Carl posted a picture of the main screen on his thread here: Olearia: a collection of applets for the Daisy Patch)

After working out the pin connections, I did update “daisy_pod.cpp” and “daisy_pod.h” in …/DaisyExamples/libdaisy/src to include all the necessary display pin definitions and function calls so I could use pod.display.Fill(), pod.display.Update(), etc. in my pod projects.

I really just looked at “daisy_patch.cpp” and “daisy_patch.h” and just copied any OLED related stuff out of those files and pasted them into the respective pod files.

Once you make those changes, though, you need to rebuild the libraries. You can do that by navigating to your working directory (I’m just using /Desktop/DaisyExamples) and running “./rebuild_libs.sh”.

Hope that helps!

3 Likes