Adafruit_SSD1351_Photon (community library)

Summary

Name Value
Name Adafruit_SSD1351_Photon
Version 0.0.7
Installs 11745
License BSD
Author Nathan Friedly nathan@nfriedly.com
URL https://github.com/nfriedly/Adafruit_SSD1351_Photon
Repository https://github.com/nfriedly/Adafruit_SSD1351_Photon.git
Download .tar.gz
All Versions 0.0.7, 0.0.6, 0.0.5, 0.0.4, 0.0.3

Fork of Adafruit's SSD1351 Color OLED driver library

Example Build Testing

Device OS Version:

This table is generated from an automated build. Success only indicates that the code compiled successfully.

Library Read Me

This content is provided by the library maintainer and has not been validated or approved.

Adafruit SSD1351 1.5" Color OLED library for Particle Photon

Connect an Adafruit SSD1351 1.5" Color OLED breakout board to a Particle Photon.

Particle Photon with OLED Display

Limitations

MicroSD Card is not currently supported

Should be possible, but I haven't yet gotten it working. See https://community.particle.io/t/particle-photon-oled-screen-and-sd-card-demo/18145 and https://github.com/mikeseeh/photon-demo-oled-sdcard for examples where folks have succeeded.

Requires modification for other screen sizes

With a small change, this library could be adjusted to work with 1.27 inch OLED, and possibly the 0.96 inch OLED breakout boards.

Wiring

For hardware SPI (considerably faster), connect the pins as follows:

Photon -> OLED

3V3 -> 3Vo (3V) GND -> GND (G)

D6 -> DC D5 -> RESET (R)

A5 -> MOSI (SI) A3 -> SCK (CL)

A2 -> OLEDCS (OC)

DC and RESET may be set to any pin, but the example defaults to D5 & D6.

Any combination of pins may be used for software SPI, but the display will update more slowly.

API documentation

See https://learn.adafruit.com/adafruit-gfx-graphics-library/

Credits

This is based on a collection of work from other tallented developers, 99.9% of the credit goes to them.

  • The lion's share of the credit goes to Adafruit - https://github.com/adafruit/Adafruit-SSD1351-library
  • I started with https://github.com/mikeseeh/photon-demo-oled-sdcard
  • Which I think is based on https://github.com/pkourany/Adafruit_SSD1351_Library/

Browse Library Files