Example code of connecting Raspberry Pi with the Adafruit OLED 128x64 pixels. I am simulating the SPI communication in software.
Please click thumbnail image to start the video