A short project to take a DIYMALL OLED display and get it up and running. They are a good deal at $10 but more importantly, they only take four wires to connect up to a Teensy – just SCL0 and SDA0 (pins 19 and 18 respectively), and powered by +5 volts but data is 3.3v. What could be simpler?
The display can show 8 lines of 20+ characters as well as graphics and is super easy to use. The one snag I discovered is the library from Adafruit has the I2C address as 0x3D and it needs to be 0x3C to work. Once I did that, the test routine, SSD1306_text_t_0125a worked perfectly.
I don’t understand why the I2C address is not called out as an important variable (well it is, but only in the context of 128×32 versus 128×64). Regardless, I wanted to document this in public.
Here is the simple test setup. Sorry that the scan rates don’t line up so you don’t see the perfectly beautiful display!