Datasheet
FeatherOLED Library
To make it easier to work with the OLED FeatherWing with specific Feather boards we've
published an optional BETA library called Adafruit_FeatherOLED (http://adafru.it/m3b).
The library consists of a base class called Adafruit_FeatherOLED which breaks the 128x32
displays in four rows of eight pixels each, and you can extend the base class with your own
OLED implementation to render custom icons, etc.
The top and bottom eight pixels are reserved for status icons and data rendered by the
helper class, and the middle 16 pixels can be used to display custom messages or data.
Downloading the Library
You can download the latest version of the library by clicking on the following link, and then
unzipping this file in your Arduino/libraries folder as Arduino/libraries/Adafruit_FeatherOLED:
Download Adafruit_FeatherOLED from Github
http://adafru.it/nbf
Adafruit_FeatherOLED Base Class
The Adafruit_FeatherOLED class exposes the following functions that will be available in
every specialised instance of this library:
void init ( void )
Initialises the OLED display, clearing it's contents and configuring the low level hardware.
This function must be called before any other actions takes place with this library.
void setBattery ( float vbat )
Sets the battery level in volts using a floating point value. For example: .setBattery(4.27F).
void setBatteryVisible ( bool enable )
Enables or disables the battery display on the OLED. Setting 'true' in this function will cause
the battery icon to be visible, otherwise set it to 'false' to disable the icon.
© Adafruit Industries https://learn.adafruit.com/adafruit-oled-featherwing Page 22 of 32










