This was forked to support the Feather OLED from Adafruit on the Particle build system
https://www.adafruit.com/product/4650
To work with the a Particle device and the Adafruit Feather OLED
Install the following libraries and use the OLED_featherwing example in the SH110x library.
- Adafruit_BusIO_PB
- Adafruit_GFX_Library_PB
- Adafruit_SH110X_PB
After those three are installed, it will work with particle devices just fine.
This is a library for our Monochrome OLEDs based on SH110X drivers
Pick one up today in the adafruit shop! ------> http://www.adafruit.com/category/63_98
These displays use I2C or SPI to communicate, 2 to 5 pins are required to interface.
Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing products from Adafruit!
Written by Limor Fried/Ladyada for Adafruit Industries. BSD license, check license.txt for more information. All text above must be included in any redistribution
Preferred installation method is to use the Arduino IDE Library Manager. To download the source from Github instead, click "Clone or download" above, then "Download ZIP." After uncompressing, rename the resulting folder Adafruit_SH110X. Check that the Adafruit_SH110X folder contains Adafruit_SH110X.cpp and Adafruit_SH110X.h.
You will also have to install the Adafruit GFX library which provides graphics primitves such as lines, circles, text, etc. This also can be found in the Arduino Library Manager, or you can get the source from https://github.com/adafruit/Adafruit-GFX-Library