Story
Guide for code at: http://guy.carpenter.id.au/gaugette/2014/01/28/controlling-an-adafruit-spi-oled-with-a-beaglebone-black/ and https://learn.adafruit.com/ssd1306-oled-displays-with-raspberry-pi-and-beaglebone-black/wiring
More details and code: https://github.com/mike-rankin/BeagleBoneBlack_3.3V_SPI_Oled. This project is reposted with the approval of this project creator. He is a good DIY maker who designs custom ESP32 IoT projects using Altium Designer, Arduino IDE and Fusion360. Welcome everyone to follow him. This is his GitHub account, Mike Rankin, where you will explore more excellent projects.