Datasheet
http://learn.adafruit.com/adafruit-all-about-arduino-libraries-install-use (http://adafru.it/aYM)
Install Adafruit GFX
You will need to do the same for the Adafurit_GFX library available
here (http://adafru.it/aJa)
Download Adafruit GFX Library
http://adafru.it/cBB
Rename the uncompressed folder Adafruit_GFX and check that the Adafruit_GFX folder
contains Adafruit_GFX.cpp and Adafruit_GFX.h
Place the Adafruit_GFX library folder your arduinosketchfolder/libraries/ folder like you
did with the SSD1306 library
Run Example Code
We have a basic demo that works with all Feathers, so restart the IDE and compile/upload
this sketch
#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
Adafruit_SSD1306 display = Adafruit_SSD1306();
#if defined(ESP8266)
#define BUTTON_A 0
#define BUTTON_B 16
#define BUTTON_C 2
#define LED 0
#elif defined(ESP32)
#define BUTTON_A 15
#define BUTTON_B 32
#define BUTTON_C 14
#define LED 13
#elif defined(ARDUINO_STM32F2_FEATHER)
#define BUTTON_A PA15
#define BUTTON_B PC7
#define BUTTON_C PC5
#define LED PB5
#elif defined(TEENSYDUINO)
#define BUTTON_A 4
© Adafruit Industries https://learn.adafruit.com/adafruit-oled-featherwing Page 18 of 32










